Skip to Content
avatar image
Former Member

Dynamic native SQL constructs

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....

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Apr 16, 2009 at 09:33 AM

    The native SQL depends on the database.

    Look up a help.sap.com

    Add comment
    10|10000 characters needed characters exceeded