4D v14.3Begin SQL |
|||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14.3
Begin SQL
|
Begin SQL | ||||||||
Does not require any parameters | ||||||||
Begin SQL is a keyword used in the Method editor to indicate the beginning of a sequence of SQL commands that must be interpreted by the current data source of the process (the integrated SQL engine of 4D or any source specified via the SQL LOGIN command).
A sequence of SQL commands started with Begin SQL must be closed with the End SQL keyword.
These keywords work as follows:
Begin SQL
INSERT INTO SALESREPS (NAME, AGE) VALUES (Henry,40);
INSERT INTO SALESREPS (NAME, AGE) VALUES (Bill,35)
End SQL
or:
Begin SQL
INSERT INTO SALESREPS (NAME, AGE) VALUES (Henry,40);INSERT INTO SALESREPS (NAME, AGE) VALUES (Bill,35)
End SQL
Note that the 4D Debugger will evaluate the SQL code line by line. In certain cases, it may be preferable to use more than one line.
Product: 4D
Theme: SQL
Number:
948
Created: 4D v11 SQL
End SQL
Get current data source
SQL LOGIN
4D Language Reference ( 4D v12.4)
4D Language Reference ( 4D v11 SQL Release 6)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)