NexusDB Manual V3 > SQL Reference > SQL Statements > Data Statements
The SQL source statement contained in the host variable is prepared and executed.
Syntax
<execute statement> ::=
Usage
The EXECUTE IMMEDIATE statement is used to execute dynamic SQL.
Notes
1) The following example executes a simple dynamic query:
DECLARE TableName as varchar(100); SET TableName = 'student'; EXECUTE IMMEDIATE 'select * from ' + TableName;
Conformance
|
© Nexus Database Systems Pty Ltd.