How can I execute a dynamically constructed SQL-SELECT-string within a
Stored Procedure on DB2, like the "sp_executesql"-command on SQL Server?
From the DB2 Information Center I got the following information:
"The EXECUTE-command requires a statement-name which must identify a
statement that was previously prepared, and cannot be a SELECT
statement."
http://publib.boulder.ibm.com/infoce...n/r0000948.htm
Thanx in advance,
Twan Kennis
SKB Vragenlijst Services
Amsterdam, The Netherlands