04-16-2009 9:54 AM
Hi Gurus,
I want to generate dynamic native sql constructs. Following is the code i am using but it genrates exception of invalid SQL statement
EXEC SQL.
OPEN c1 FOR
SELECT (l_t_code) FROM (s_tabnm) WHERE (l_t_codewhere)
ENDEXEC.
Please brief me how to create dynamic native SQL constructs .
Thanks
Sonal....
04-16-2009 10:33 AM
04-16-2009 11:47 AM
Check the program, ADBC_DEMO in SE38. It will help you create dynamic native SQL queries.
08-19-2009 10:43 AM