4D v14.3

SQL End selection

Home

 
4D v14.3
SQL
SQL End selection

SQL End selection 


 

SQL End selection -> Function result 
Parameter Type   Description
Function result  Boolean in Result set boundaries reached

The SQL End selection command is used to determine if the boundaries of the result set have been reached.

Example  

The code below connects to an external data source (Oracle) using the following parameters:

 C_TEXT(vName)
 
 SQL LOGIN("TestOracle";"scott";"tiger")
 If(OK=1)
    SQL EXECUTE("SELECT ename FROM emp";vName)
    While(Not(SQL End selection))
       SQL LOAD RECORD
    End while
    SQL LOGOUT
 End if

This code will return in the 4D vName variable the emp names (ename) stored in the table named emp.

 
PROPERTIES 

Product: 4D
Theme: SQL
Number: 821

 
HISTORY 

Created: 4D 2004

 
ARTICLE USAGE

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)