4D v13.4EXECUTE IMMEDIATE |
||||||||||||||
|
4D v13.4
EXECUTE IMMEDIATE
|
EXECUTE IMMEDIATE <<sql_name>> | <<$sql_name>> | :sql_name | :$sql_name |
||
The EXECUTE IMMEDIATE command is used to execute a dynamic SQL statement. The sql_name passed represents a variable containing a set of SQL statements that will be executed as a whole.
Notes:
This example recovers the number of movies in the database that were released in 1960 or more recently:
Product: 4D
Theme: SQL Commands