db2_field_type

(PECL ibm_db2 >= 1.0.0) Returns the data type of the indicated column in a result set string db2_field_type ( resource $stmt, mixed $column ) Returns the data type of the indicated column in a result set. Parameters: stmt Specifies a statement resource containing a result set. column Specifies the column in the result set. This can

db2_field_scale

(PECL ibm_db2 >= 1.0.0) Returns the scale of the indicated column in a result set int db2_field_scale ( resource $stmt, mixed $column ) Returns the scale of the indicated column in a result set. Parameters: stmt Specifies a statement resource containing a result set. column Specifies the column in the result set. This can either be

db2_field_precision

(PECL ibm_db2 >= 1.0.0) Returns the precision of the indicated column in a result set int db2_field_precision ( resource $stmt, mixed $column ) Returns the precision of the indicated column in a result set. Parameters: stmt Specifies a statement resource containing a result set. column Specifies the column in the result set. This c

db2_field_num

(PECL ibm_db2 >= 1.0.0) Returns the position of the named column in a result set int db2_field_num ( resource $stmt, mixed $column ) Returns the position of the named column in a result set. Parameters: stmt Specifies a statement resource containing a result set. column Specifies the column in the result set. This can either be an

db2_field_name

(PECL ibm_db2 >= 1.0.0) Returns the name of the column in the result set string db2_field_name ( resource $stmt, mixed $column ) Returns the name of the specified column in the result set. Parameters: stmt Specifies a statement resource containing a result set. column Specifies the column in the result set. This can either be an in

db2_field_display_size

(PECL ibm_db2 >= 1.0.0) Returns the maximum number of bytes required to display a column int db2_field_display_size ( resource $stmt, mixed $column ) Returns the maximum number of bytes required to display a column in a result set. Parameters: stmt Specifies a statement resource containing a result set. column Specifies the column

db2_fetch_row

(PECL ibm_db2 >= 1.0.0) Sets the result set pointer to the next row or requested row bool db2_fetch_row ( resource $stmt [, int $row_number ] ) Use db2_fetch_row() to iterate through a result set, or to point to a specific row in a result set if you requested a scrollable cursor. To retrieve individual fields from the result set, call the db2_result() function. Rather than calling db2_fetch_row() and db2_result(), m

db2_fetch_object

(PECL ibm_db2 >= 1.0.0) Returns an object with properties representing columns in the fetched row object db2_fetch_object ( resource $stmt [, int $row_number = -1 ] ) Returns an object in which each property represents a column returned in the row fetched from a result set. Parameters: stmt A valid stmt resource containing a result set. row_nu

db2_fetch_both

(PECL ibm_db2 >= 1.0.0) Returns an array, indexed by both column name and position, representing a row in a result set array db2_fetch_both ( resource $stmt [, int $row_number = -1 ] ) Returns an array, indexed by both column name and position, representing a row in a result set. Note that the row returned by db2_fetch_both() requires more memory than the single-indexed arrays returned by db2_fetch_assoc() or db2_fetch

db2_fetch_assoc

(PECL ibm_db2 >= 1.0.0) Returns an array, indexed by column name, representing a row in a result set array db2_fetch_assoc ( resource $stmt [, int $row_number = -1 ] ) Returns an array, indexed by column name, representing a row in a result set. Parameters: stmt A valid stmt resource containing a result set. row_number Requests a