DBMS_SQL
The DBMS_SQL
package provides an interface for using dynamic SQL to accomplish any of the following:
-
Execute data manipulation language (DML) and data definition language (DDL) statements.
-
Execute PL/SQL anonymous blocks.
-
Call PL/SQL stored procedures and functions.
This package does not support pre-defined data types and overloads with data types that are not supported in TimesTen, such as UROWID
, time zone features, ADT, database-level collections, and edition overloads. For more information on the supported data types in TimesTen PL/SQL, see Understanding the Data Type Environments.
Table 7-6 describes the DBMS_SQL
subprograms.
Table 7-6 DBMS_SQL Subprograms
Subprogram | Description |
---|---|
|
Binds a given value to a given collection. |
|
Binds a given value to a given variable. |
|
Closes a given cursor and frees memory. |
|
Returns the value of the cursor element for a given position in a cursor. |
|
Returns a selected part of a Important: Because TimesTen does not support the |
|
Defines a collection to be selected from the given cursor. Use with |
|
Defines a column to be selected from the given cursor. Use with |
|
Defines a Important: Because TimesTen does not support the |
|
Describes the columns for a cursor opened and parsed through the |
|
Describes the specified column. Use as an alternative to |
|
Describes the specified column. Use as an alternative to |
|
Executes a given cursor. |
|
Executes a given cursor and fetches rows. |
|
Fetches a row from a given cursor. |
|
Returns |
|
Returns the byte offset in the SQL statement text where the error occurred. |
|
Returns a cumulative count of the number of rows fetched. |
|
Returns |
|
Returns the SQL function code for the statement. |
|
Returns the cursor ID number of a new cursor. |
|
Parses a given statement. |
|
Takes an opened (by |
|
Takes an opened, parsed, and executed cursor (by |
|
Returns value of a named variable for a given cursor. |