This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
|||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20.6
SQL CANCEL LOAD
|
SQL CANCEL LOAD | ||||||||
Does not require any parameters | ||||||||
The SQL CANCEL LOAD command ends the current SELECT request and initializes the parameters.
This command is used to execute several SELECT requests within the same connection (i.e. the same cursor) initiated by the SQL LOGIN command.
In this example, two requests are executed in the same connection:
C_BLOB(Myblob)
C_TEXT(MyText)
SQL LOGIN("mysql";"root";"")
SQLStmt:="SELECT blob_field FROM app_testTable"
SQL EXECUTE(SQLStmt;Myblob)
While(Not(SQL End selection))
SQL LOAD RECORD
End while
`Resetting of cursor
SQL CANCEL LOAD
SQLStmt:="SELECT Name FROM Employee"
SQL EXECUTE(SQLStmt;MyText)
While(Not(SQL End selection))
SQL LOAD RECORD
End while
If the command has been correctly executed, the system variable OK returns 1. Otherwise, it returns 0.
Product: 4D
Theme: SQL
Number:
824
Created: 4D 2004
4D Language Reference ( 4D v20)
4D Language Reference ( 4D v20.1)
4D Language Reference ( 4D v20.2)
4D Language Reference ( 4D v20.3)
4D Language Reference ( 4D v20.4)
4D Language Reference ( 4D v20.5)
4D Language Reference ( 4D v20.6)