cubrid_execute

(PECL CUBRID >= 8.3.0) Execute a prepared SQL statement resource cubrid_execute ( resource $conn_identifier, string $sql [, int $option ] ) bool cubrid_execute ( resource $request_identifier [, int $option ] ) The cubrid_execute() function is used to execute the given SQL statement. It executes the query by using conn_identifier and SQL, and then returns the request identifier created. It is used for simple execution of

cubrid_error_msg

(PECL CUBRID >= 8.3.0) Get last error message for the most recent function call string cubrid_error_msg ( void ) The cubrid_error_msg() function is used to get the error message that occurred during the use of CUBRID API. Usually, it gets error message when API returns false as its return value. Returns: Error message that occurred. Examples:

cubrid_error_code

(PECL CUBRID >= 8.3.0) Get error code for the most recent function call int cubrid_error_code ( void ) The cubrid_error_code() function is used to get the error code of the error that occurred during the API execution. Usually, it gets the error code when API returns false as its return value. Returns: Error code of the error that occurred, or 0 (zero) if no error occurred.

cubrid_error_code_facility

(PECL CUBRID >= 8.3.0) Get the facility code of error int cubrid_error_code_facility ( void ) The cubrid_error_code_facility() function is used to get the facility code (level in which the error occurred) from the error code of the error that occurred during the API execution. Usually, you can get the error code when API returns false as its return value. Returns: Facility code of the error cod

cubrid_drop

(PECL CUBRID >= 8.3.0) Delete an instance using OID bool cubrid_drop ( resource $conn_identifier, string $oid ) The cubrid_drop() function is used to delete an instance from database by using the oid of the instance. Parameters: conn_identifier Connection identifier. oid Oid of the instance that you want to delete. Re

cubrid_disconnect

(PECL CUBRID >= 8.3.0) Close a database connection bool cubrid_disconnect ([ resource $conn_identifier ] ) The cubrid_disconnect() function closes the connection handle and disconnects from server. If any request handle is not closed at this point, it will be closed. It is similar to the CUBRID MySQL compatible function cubrid_close(). Parameters: conn_identifier Connec

cubrid_current_oid

(PECL CUBRID >= 8.3.0) Get OID of the current cursor location string cubrid_current_oid ( resource $req_identifier ) The cubrid_current_oid() function is used to get the oid of the current cursor location from the query result. To use cubrid_current_oid(), the query executed must be a updatable query, and the CUBRID_INCLUDE_OID option must be included during the query execution. Parameters:

cubrid_connect

(PECL CUBRID >= 8.3.1) Open a connection to a CUBRID Server resource cubrid_connect ( string $host, int $port, string $dbname [, string $userid [, string $passwd [, bool $new_link = false ]]] ) The cubrid_connect() function is used to establish the environment for connecting to your server by using your server address, port number, database name, user name, and password. If the user name and password is not given, then t

cubrid_connect_with_url

(PECL CUBRID >= 8.3.1) Establish the environment for connecting to CUBRID server resource cubrid_connect_with_url ( string $conn_url [, string $userid [, string $passwd [, bool $new_link = false ]]] ) The cubrid_connect_with_url() function is used to establish the environment for connecting to your server by using connection information passed with an url string argument. If the HA feature is enabled in CUBRID, you must

cubrid_commit

(PECL CUBRID >= 8.3.0) Commit a transaction bool cubrid_commit ( resource $conn_identifier ) The cubrid_commit() function is used to execute commit on the transaction pointed by conn_identifier, currently in progress. Connection to the server is closed after the cubrid_commit() function is called; However, the connection handle is still valid. In CUBRID PHP, auto-commit mode is disabled by default for transaction manage