‎2009 Nov 19 10:50 AM
Hi All,
How can we write native sql ( stored procedures ) when the database is MS SQL.
Please let me know your ideas on this.
Thanks,
Sreedhar
‎2009 Nov 19 4:01 PM
It isn't a good idea because your syntax depends on syntax of MS SQL. In a future the database can change and this code willn't be valid.
ABAP SQL is more limited than MS SQL
‎2009 Nov 19 7:53 PM
TRY WHIT THIS
EXEC SQL.
TRUNCATE TABLE ZTVTAXDEPTO
ENDEXEC.
ALL CODE BETWEN EXEC SQL. AND ENDEXEC. ARE NATIVE SQL