From 5643fab1d40f2ee16d3cf583dcfbe15f62116fcb Mon Sep 17 00:00:00 2001 From: Ron Chmara Date: Wed, 18 Oct 2000 06:52:41 +0000 Subject: [PATCH] Added new functions to match protos, corrected some proto typos, minor aesthetic edits. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@34042 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/sybase.xml | 187 ++++++++++++++++++++++++++++++++++++++----- 1 file changed, 168 insertions(+), 19 deletions(-) diff --git a/functions/sybase.xml b/functions/sybase.xml index 34949b59af..0e51c332dd 100644 --- a/functions/sybase.xml +++ b/functions/sybase.xml @@ -17,22 +17,25 @@ - Returns: The number of affected rows by the last query. + Returns: The number of affected rows by the last query. + 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. If the - link identifier isn't specified, the last opened link is assumed. + link identifier isn't specified, the last opened link is assumed. + This command is not effective for SELECT statements, only on statements which modify records. To retrieve the number of rows returned from a SELECT, use sybase_num_rows. - - - This function is only available using the CT library interface - to Sybase, and not the DB library. - - + + + This function is only available using the CT library interface + to Sybase, and not the DB library. + + + @@ -45,11 +48,12 @@ Description - int sybase_close + bool sybase_close int link_identifier - Returns: true on success, false on error + + Returns: true on success, false on error sybase_close() closes the link to a Sybase database that's associated with the specified link identifier. If the link @@ -114,7 +118,7 @@ Description - int sybase_data_seek + bool sybase_data_seek int result_identifier int row_number @@ -140,7 +144,7 @@ Description - int sybase_fetch_array + array sybase_fetch_array int result @@ -315,7 +319,7 @@ Description - int sybase_free_result + bool sybase_free_result int result @@ -330,6 +334,150 @@ + + + sybase_get_last_message + Returns the last message from the server + + + Description + + + string sybase_get_last_message + void + + + + sybase_get_last_message returns the last + message reported by the server. + + + + + + + sybase_min_client_severity + Sets minimum client severity + + + Description + + + void sybase_min_client_severity + int severity + + + + sybase_min_client_severity sets the minimum + client severity level. + + + + + + + sybase_min_client_severity + Sets minimum client severity + + + Description + + + void sybase_min_client_severity + int severity + + + + sybase_min_client_severity sets the minimum + client severity level. + + + This function is only available using the CT library interface + to Sybase, and not the DB library. + + + + + See also: sybase_min_server_severity. + + + + + + + sybase_min_error_severity + Sets minimum error severity + + + Description + + + void sybase_min_error_severity + int severity + + + + sybase_min_error_severity sets the minimum + error severity level. + + + See also: sybase_min_message_severity. + + + + + + + sybase_min_message_severity + Sets minimum message severity + + + Description + + + void sybase_min_message_severity + int severity + + + + sybase_min_message_severity sets the minimum + message severity level. + + + See also: sybase_min_error_severity. + + + + + + + sybase_min_server_severity + Sets minimum server severity + + + Description + + + void sybase_min_server_severity + int severity + + + + sybase_min_server_severity sets the minimum + server severity level. + + + This function is only available using the CT library interface + to Sybase, and not the DB library. + + + + + See also: sybase_min_client_severity. + + + + sybase_num_fields @@ -366,7 +514,7 @@ int sybase_num_rows - string result + int result @@ -412,10 +560,11 @@ Second, the connection to the SQL server will not be closed when the execution of the script ends. Instead, the link will remain open for future use (sybase_close will not - close links established by sybase_pconnect()). + close links established by sybase_pconnect()). + - This type of links is therefore called 'persistent'. - + This type of links is therefore called 'persistent'. + @@ -461,7 +610,7 @@ Description - int sybase_result + string sybase_result int result int row mixed field @@ -505,7 +654,7 @@ Description - int sybase_select_db + bool sybase_select_db string database_name int link_identifier