oci_error

(PHP 5, PHP 7, PECL OCI8 >= 1.1.0) Returns the last error found array oci_error ([ resource $resource ] ) Returns the last error found. The function should be called immediately after an error occurs. Errors are cleared by a successful statement. Parameters: resource For most errors, resource is the resource handle that was passed to the failing function call. For co

oci_define_by_name

(PHP 5, PHP 7, PECL OCI8 >= 1.1.0) Associates a PHP variable with a column for query fetches bool oci_define_by_name ( resource $statement, string $column_name, mixed &$variable [, int $type = SQLT_CHR ] ) Associates a PHP variable with a column for query fetches using oci_fetch(). The oci_define_by_name() call must occur before executing oci_execute(). Parameters: statement

oci_connect

(PHP 5, PHP 7, PECL OCI8 >= 1.1.0) Connect to an Oracle database resource oci_connect ( string $username, string $password [, string $connection_string [, string $character_set [, int $session_mode ]]] ) Returns a connection identifier needed for most other OCI8 operations. See Connection Handling for general information on connection management and connection pooling. From PHP 5.1.2 (PECL OCI8 1.1) oci_close() can be

oci_bind_array_by_name

(PHP 5 >= 5.1.2, PHP 7, PECL OCI8 >= 1.2.0) Binds a PHP array to an Oracle PL/SQL array parameter bool oci_bind_array_by_name ( resource $statement, string $name, array &$var_array, int $max_table_length [, int $max_item_length = -1 [, int $type = SQLT_AFC ]] ) Binds the PHP array var_array to the Oracle placeholder name, which points to an Oracle PL/SQL array. Whether it will be used for input or output will be

oci_close

(PHP 5, PHP 7, PECL OCI8 >= 1.1.0) Closes an Oracle connection bool oci_close ( resource $connection ) Unsets connection. The underlying database connection is closed if no other resources are using it and if it was created with oci_connect() or oci_new_connect(). It is recommended to close connections that are no longer needed because this makes database resources available for other users. Parameters:

oci_client_version

(PHP 5.3.7, PHP 7, PECL OCI8 >= 1.4.6) Returns the Oracle client library version string oci_client_version ( void ) Returns a string containing the version number of the Oracle C client library that PHP is linked with. Returns: Returns the version number as a string. Notes: Oracle libraries before 10gR2 do not have the underlying functional

mssql_select_db

(PHP 4, PHP 5, PECL odbtp >= 1.1.1) Select MS SQL database bool mssql_select_db ( string $database_name [, resource $link_identifier ] ) mssql_select_db() sets the current active database on the server that's associated with the specified link identifier. Every subsequent call to mssql_query() will be made on the active database. Parameters: database_name The databas

oci_cancel

(PHP 5, PHP 7, PECL OCI8 >= 1.1.0) Cancels reading from cursor bool oci_cancel ( resource $statement ) Invalidates a cursor, freeing all associated resources and cancels the ability to read from it. Parameters: statement An OCI statement. Returns: Returns TRUE on success or FALSE on failure.

oci_bind_by_name

(PHP 5, PHP 7, PECL OCI8 >= 1.1.0) Binds a PHP variable to an Oracle placeholder bool oci_bind_by_name ( resource $statement, string $bv_name, mixed &$variable [, int $maxlength = -1 [, int $type = SQLT_CHR ]] ) Binds a PHP variable variable to the Oracle bind variable placeholder bv_name. Binding is important for Oracle database performance and also as a way to avoid SQL Injection security issues. Binding allows

mssql_query

(PHP 4, PHP 5, PECL odbtp >= 1.1.1) Send MS SQL query mixed mssql_query ( string $query [, resource $link_identifier [, int $batch_size = 0 ]] ) mssql_query() sends a query to the currently active database on the server that's associated with the specified link identifier. Parameters: query An SQL query. link_identifier A MS SQL lin