Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Truncate Custom DBT Dynamically ?

Former Member
0 Kudos

Dear All,

How to delete entries from a particular Custom DBT specified on the selection screen ?

Directly this is working.........



 exec sql.
  Truncate table "ZTEST_DEL"
 endexec.

But, dynamically what should be written ?

I tried to pass the table as a variable with Double quotes. But still it's not working.

Any clues ???

Regards,

Deepu.k

1 REPLY 1

Former Member
0 Kudos

Did you try like:


 exec sql.
  Truncate table 'ZTEST_DEL'
 endexec.

Regards

Shital