Application Development and Automation 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: 
Read only

Dynamic table name in native sql

Former Member
0 Likes
438

Hi,

is it possible to use dynamic table in native sql.

For eq.

v_tab = 'tdtab'.

exec sql.

select donum into :v_donum

from (v_dtab)

where type = 'abc'.

endexec.

i tried this it is not wrking..how can i achieve this?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
301

Hello Arun,

Check following thread for more details:

Hope this will help resolve your problem.

Thanks,

-Augustin.

Search SDN before you POST !!

1 REPLY 1
Read only

Former Member
0 Likes
302

Hello Arun,

Check following thread for more details:

Hope this will help resolve your problem.

Thanks,

-Augustin.

Search SDN before you POST !!