Marc-Olivier Meunier wrote :

>Hi,

>I would like to create a string that will be executed in dbproc
>What is the right function to make it work ?


CREATE DBPROC TEST AS
VAR
stmt CHAR(40);
stmt = 'INSERT INTO TEST_TABLES VALUES (1,2)';
execute stmt;

Regards,
Thomas

-- 
Thomas Anhaus
SAP DB, SAP Labs Berlin
[EMAIL PROTECTED]
http://www.sapdb.org/
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general


_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to