EXECUTE IMMEDIATE
Function
Immediately prepares and executes a dynamically specified SQL statement without retrieving result rows.
Syntax
EXECUTE IMMEDIATE string
Parameter Description
string
A C string or host variable that contains the SQL statement to be executed.
Example
sprintf(command, "INSERT INTO test (name, amount, letter) VALUES ('db: ''r1''', 1, 'f')"); EXEC SQL EXECUTE IMMEDIATE :command;
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.