ODBC_EXEC(3) 1 ODBC_EXEC(3)odbc_exec - Prepare and execute an SQL statementSYNOPSIS
resource odbc_exec (resource $connection_id, string $query_string, [int $flags])
DESCRIPTION
Sends an SQL statement to the database server.
PARAMETERS
o $connection_id
-The ODBC connection identifier, see odbc_connect(3) for details.
o $query_string
- The SQL statement.
o $flags
- This parameter is currently not used.
RETURN VALUES
Returns an ODBC result identifier if the SQL command was executed successfully, or FALSE on error.
SEE ALSO odbc_prepare(3), odbc_execute(3).
PHP Documentation Group ODBC_EXEC(3)
Check Out this Related Man Page
ODBC_PROCEDURECOLUMNS(3) 1 ODBC_PROCEDURECOLUMNS(3)odbc_procedurecolumns - Retrieve information about parameters to proceduresSYNOPSIS
resource odbc_procedurecolumns (resource $connection_id)
DESCRIPTION
resource odbc_procedurecolumns (resource $connection_id, string $qualifier, string $owner, string $proc, string $column)
Retrieve information about parameters to procedures.
PARAMETERS
o $connection_id
-The ODBC connection identifier, see odbc_connect(3) for details.
o $qualifier
- The qualifier.
o $owner
- The owner. This parameter accepts the following search patterns: "%" to match zero or more characters, and "_" to match a single
character.
o $proc
- The proc. This parameter accepts the following search patterns: "%" to match zero or more characters, and "_" to match a single
character.
o $column
- The column. This parameter accepts the following search patterns: "%" to match zero or more characters, and "_" to match a sin-
gle character.
RETURN VALUES
Returns the list of input and output parameters, as well as the columns that make up the result set for the specified procedures. Returns
an ODBC result identifier or FALSE on failure.
The result set has the following columns:
oPROCEDURE_QUALIFIER
oPROCEDURE_OWNER
oPROCEDURE_NAME
oCOLUMN_NAME
oCOLUMN_TYPE
oDATA_TYPE
oTYPE_NAME
oPRECISION
oLENGTH
oSCALE
oRADIX
oNULLABLE
oREMARKS
The result set is ordered by PROCEDURE_QUALIFIER, PROCEDURE_OWNER, PROCEDURE_NAME and COLUMN_TYPE.
PHP Documentation Group ODBC_PROCEDURECOLUMNS(3)