PHP Sybase Functions
EditRocket provides the following information on Sybase functions in the PHP source code builder.
int sybase_affected_rows ([ resource $link_identifier ] ) - sybase_affected_rows() returns the number of rows affected by the last INSERT, UPDATE or DELETE query on the server associated with the specified link identifier.
bool sybase_close ([ resource $link_identifier ] ) - sybase_close() closes the link to a Sybase database that's associated with the specified link link_identifier.
resource sybase_connect ([ string $servername [, string $username [, string $password [, string $charset [, string $appname ]]]]] ) - sybase_connect() establishes a connection to a Sybase server.
bool sybase_data_seek ( resource $result_identifier , int $row_number ) - sybase_data_seek() moves the internal row pointer of the Sybase result associated with the specified result identifier to pointer to the specified row number.
void sybase_deadlock_retry_count ( int $retry_count ) - Using sybase_deadlock_retry_count(), the number of retries can be defined in cases of deadlocks.
array sybase_fetch_array ( resource $result ) -
array sybase_fetch_assoc ( resource $result ) -
object sybase_fetch_field ( resource $result [, int $field_offset ] ) - sybase_fetch_field() can be used in order to obtain information about fields in a certain query result.
object sybase_fetch_object ( resource $result [, mixed $object ] ) -
array sybase_fetch_row ( resource $result ) - sybase_fetch_row() fetches one row of data from the result associated with the specified result identifier.
bool sybase_field_seek ( resource $result , int $field_offset ) - Seeks to the specified field offset.
bool sybase_free_result ( resource $result ) - sybase_free_result() only needs to be called if you are worried about using too much memory while your script is running. All result memory will automatically be freed when the script ends. You may call sybase_free_result() with the result identifier as an argument and the associated result memory will be freed.
string sybase_get_last_message ( void ) - sybase_get_last_message() returns the last message reported by the server.
void sybase_min_client_severity ( int $severity ) - sybase_min_client_severity() sets the minimum client severity level.
void sybase_min_error_severity ( int $severity ) - sybase_min_error_severity() sets the minimum error severity level.
void sybase_min_message_severity ( int $severity ) - sybase_min_message_severity() sets the minimum message severity level.
void sybase_min_server_severity ( int $severity ) - sybase_min_server_severity() sets the minimum server severity level.
int sybase_num_fields ( resource $result ) - sybase_num_fields() returns the number of fields in a result set.
int sybase_num_rows ( resource $result ) - sybase_num_rows() returns the number of rows in a result set.
resource sybase_pconnect ([ string $servername [, string $username [, string $password [, string $charset [, string $appname ]]]]] ) -
mixed sybase_query ( string $query [, resource $link_identifier ] ) - sybase_query() sends a query to the currently active database on the server that's associated with the specified link identifier.
string sybase_result ( resource $result , int $row , mixed $field ) - Returns the contents of the cell at the row and offset in the specified Sybase result set.
bool sybase_select_db ( string $database_name [, resource $link_identifier ] ) - sybase_select_db() sets the current active database on the server that's associated with the specified link identifier.
bool sybase_set_message_handler ( callback $handler [, resource $connection ] ) - sybase_set_message_handler() sets a user function to handle messages generated by the server. You may specify the name of a global function, or use an array to specify an object reference and a method name.
resource sybase_unbuffered_query ( string $query , resource $link_identifier [, bool $store_result ] ) - sybase_unbuffered_query() sends a query to the currently active database on the server that's associated with the specified link identifier. If the link identifier isn't specified, the last opened link is assumed.