maxdb_stmt_prepare

(PECL maxdb >= 1.0) Prepare an SQL statement for execution bool maxdb_stmt_prepare ( resource $stmt, string $query ) Procedural style Object oriented style mixed maxdb_stmt::prepare ( string $query ) maxdb_stmt_prepare() prepares the SQL query pointed to by the null-terminated string query. The statement resource has to be allocated by maxdb_stmt_init(). The query must consist of a single SQL statement. Note: You sho

maxdb_stmt_param_count

(PECL maxdb >= 1.0) Returns the number of parameter for the given statement int maxdb_stmt_param_count ( resource $stmt ) Procedural style Object oriented style int $maxdb_stmt->param_count; maxdb_stmt_param_count() returns the number of parameter markers present in the prepared statement. Returns: returns an integer representing the number of parameters.

maxdb_stmt_num_rows

(PECL maxdb >= 1.0) Return the number of rows in statements result set int maxdb_stmt_num_rows ( resource $stmt ) Procedural style Object oriented style int $maxdb_stmt->num_rows; Returns the number of rows in the result set. Returns: An integer representing the number of rows in result set. Examples: Object oriented style

maxdb_stmt_send_long_data

(PECL maxdb 1.0) Send data in blocks bool maxdb_stmt_send_long_data ( resource $stmt, int $param_nr, string $data ) Procedural style Object oriented style bool maxdb_stmt::stmt_send_long_data ( int $param_nr , string $data ) Allows to send parameter data to the server in pieces (or chunks). This function can be called multiple times to send the parts of a character or binary data value for a column, which must be one of the

maxdb_stmt_free_result

(PECL maxdb >= 1.0) Frees stored result memory for the given statement handle void maxdb_stmt_free_result ( resource $stmt ) Procedural style Object oriented style void maxdb_stmt::free_result ( void ) The maxdb_stmt_free_result() function frees the result memory associated with the statement represented by the stmt parameter, which was allocated by maxdb_stmt_store_result(). Returns: This fu

maxdb_stmt_error

(PECL maxdb >= 1.0) Returns a string description for last statement error string maxdb_stmt_error ( resource $stmt ) Procedural style Object oriented style string $maxdb_stmt->error; For the statement specified by stmt, maxdb_stmt_error() returns a containing the error message for the most recently invoked statement function that can succeed or fail. Returns: A string that describes the err

maxdb_stmt_errno

(PECL maxdb >= 1.0) Returns the error code for the most recent statement call int maxdb_stmt_errno ( resource $stmt ) Procedural style Object oriented style int $maxdb_stmt->errno; For the statement specified by stmt, maxdb_stmt_errno() returns the error code for the most recently invoked statement function that can succeed or fail. Note: For possible error codes see documentation of SQLDBC: ยป http://maxdb.sap.com

maxdb_stmt_data_seek

(PECL maxdb >= 1.0) Seeks to an arbitray row in statement result set bool maxdb_stmt_data_seek ( resource $statement, int $offset ) Procedural style Object oriented style bool maxdb_stmt::data_seek ( int $offset ) The maxdb_stmt_data_seek() function seeks to an arbitrary result pointer specified by the offset in the statement result set represented by statement. The offset parameter must be between zero and the total num

maxdb_stmt_execute

(PECL maxdb >= 1.0) Executes a prepared Query bool maxdb_stmt_execute ( resource $stmt ) Procedural style Object oriented style bool maxdb_stmt::execute ( void ) The maxdb_stmt_execute() function executes a query that has been previously prepared using the maxdb_prepare() function represented by the stmt resource. When executed any parameter markers which exist will automatically be replaced with the appropiate data. I

maxdb_stmt_fetch

(PECL maxdb >= 1.0) Fetch results from a prepared statement into the bound variables bool maxdb_stmt_fetch ( resource $stmt ) Procedural style Object oriented style bool maxdb_stmt::fetch ( void ) maxdb_stmt_fetch() returns row data using the variables bound by maxdb_stmt_bind_result(). Note: Note that all columns must be bound by the application before calling maxdb_stmt_fetch(). Returns: