5. Working with Embedded SQL : Dynamic Programming : Using Clause
 
Share this page                  
Using Clause
The USING clause directs the DBMS Server to use the variables pointed to by the sqlvar elements of the SQLDA (or other host language variables) when executing the statement.
The USING clause has the following syntax:
USING DESCRIPTOR descriptor_name
The keyword descriptor is optional in some statements that accept the USING clause.
The statements that accept the USING clause are:
DESCRIBE
EXECUTE
EXECUTE IMMEDIATE
EXECUTE PROCEDURE
FETCH
OPEN
PREPARE