2 34.14. Embedded SQL Commands #
4 ALLOCATE DESCRIPTOR — allocate an SQL descriptor area
5 CONNECT — establish a database connection
6 DEALLOCATE DESCRIPTOR — deallocate an SQL descriptor area
7 DECLARE — define a cursor
8 DECLARE STATEMENT — declare SQL statement identifier
9 DESCRIBE — obtain information about a prepared statement or result set
10 DISCONNECT — terminate a database connection
11 EXECUTE IMMEDIATE — dynamically prepare and execute a statement
12 GET DESCRIPTOR — get information from an SQL descriptor area
13 OPEN — open a dynamic cursor
14 PREPARE — prepare a statement for execution
15 SET AUTOCOMMIT — set the autocommit behavior of the current session
16 SET CONNECTION — select a database connection
17 SET DESCRIPTOR — set information in an SQL descriptor area
18 TYPE — define a new data type
19 VAR — define a variable
20 WHENEVER — specify the action to be taken when an SQL statement causes
21 a specific class condition to be raised
23 This section describes all SQL commands that are specific to embedded
24 SQL. Also refer to the SQL commands listed in SQL Commands, which can
25 also be used in embedded SQL, unless stated otherwise.