diff --git a/functions/oracle.xml b/functions/oracle.xml index 88b3091b6d..8ca586dec1 100644 --- a/functions/oracle.xml +++ b/functions/oracle.xml @@ -20,16 +20,16 @@ - Returns true if the bind succeeds, otherwise false. Details + Returns true if the bind succeeds, otherwise false. Details about the error can be retrieved using the ora_error and ora_errorcode functions. This function binds the named PHP variable with a SQL parameter. - The SQL parameter must be in the form ":name". With the optional + The SQL parameter must be in the form ":name". With the optional type parameter, you can define whether the SQL parameter is an - in/out (0, default), in (1) or out (2) parameter. As of PHP + in/out (0, default), in (1) or out (2) parameter. As of PHP 3.0.1, you can use the constants ORA_BIND_INOUT, ORA_BIND_IN and ORA_BIND_OUT instead of the numbers. @@ -50,7 +50,7 @@ $input = 765; ora_exec($curs); echo "Result: $result<BR>Out: $output<BR>In: $input"; ?> - + @@ -70,7 +70,7 @@ echo "Result: $result<BR>Out: $output<BR>In: $input"; - Returns true if the close succeeds, otherwise false. Details + Returns true if the close succeeds, otherwise false. Details about the error can be retrieved using the ora_error and ora_errorcode functions. @@ -78,7 +78,7 @@ echo "Result: $result<BR>Out: $output<BR>In: $input"; This function closes a data cursor opened with ora_open. - + @@ -99,7 +99,7 @@ echo "Result: $result<BR>Out: $output<BR>In: $input"; Returns the name of the field/column column on the cursor - cursor. The returned name is in all + cursor. The returned name is in all uppercase letters. @@ -122,7 +122,7 @@ echo "Result: $result<BR>Out: $output<BR>In: $input"; Returns the name of the field/column column on the cursor - cursor. The returned name is in all + cursor. The returned name is in all uppercase letters. @@ -145,7 +145,7 @@ echo "Result: $result<BR>Out: $output<BR>In: $input"; Returns the Oracle data type name of the field/column column on the cursor - cursor. The returned type will be one of + cursor. The returned type will be one of the following: "VARCHAR2" @@ -157,11 +157,11 @@ echo "Result: $result<BR>Out: $output<BR>In: $input"; "ROWID" "DATE" "CURSOR" - + + - Ora_Commit @@ -175,10 +175,10 @@ echo "Result: $result<BR>Out: $output<BR>In: $input"; int conn - Returns true on success, false on error. Details about the + Returns true on success, false on error. Details about the error can be retrieved using the ora_error - and ora_errorcode functions. This function - commits an Oracle transaction. A transaction is defined as all + and ora_errorcode functions. This function + commits an Oracle transaction. A transaction is defined as all the changes on a given connection since the last commit/rollback, autocommit was turned off or when the connection was established. @@ -199,7 +199,7 @@ echo "Result: $result<BR>Out: $output<BR>In: $input"; - Returns true on success, false on error. Details about the error + Returns true on success, false on error. Details about the error can be retrieved using the ora_error and ora_errorcode functions. @@ -228,7 +228,7 @@ echo "Result: $result<BR>Out: $output<BR>In: $input"; ora_exec on the given connection. - Returns true on success, false on error. Details about the error + Returns true on success, false on error. Details about the error can be retrieved using the ora_error and ora_errorcode functions. @@ -255,7 +255,7 @@ echo "Result: $result<BR>Out: $output<BR>In: $input"; It will parse and execute a statement, then fetch the first result row. - Returns true on success, false on error. Details about the error + Returns true on success, false on error. Details about the error can be retrieved using the ora_error and ora_errorcode functions. See also Ora_Parse,Ora_Exec, @@ -338,7 +338,7 @@ remove the unique restriction or do not insert the key - Returns true on success, false on error. Details about the error + Returns true on success, false on error. Details about the error can be retrieved using the ora_error and ora_errorcode functions. @@ -364,9 +364,9 @@ remove the unique restriction or do not insert the key Returns true (a row was fetched) or false (no more rows, or an - error occured). If an error occured, details can be retrieved + error occured). If an error occured, details can be retrieved using the ora_error and - ora_errorcode functions. If there was no + ora_errorcode functions. If there was no error, ora_errorcode will return 0. Retrieves a row of data from the specified cursor. @@ -433,12 +433,12 @@ echo $results[1]; - Returns the column data. If an error occurs, False is returned + Returns the column data. If an error occurs, False is returned and ora_errorcode - will return a non-zero value. Note, however, that a test for False + will return a non-zero value. Note, however, that a test for False on the results from this function may be true in cases where there is not error as well (NULL result, empty string, the number 0, the - string "0"). Fetches the data for a column or function + string "0"). Fetches the data for a column or function result. @@ -458,7 +458,7 @@ echo $results[1]; - Returns true on success, False on error. Details about the error + Returns true on success, False on error. Details about the error can be retrieved using the ora_error and ora_errorcode functions. Logs out the user and disconnects from the server. @@ -497,7 +497,7 @@ $conn = Ora_Logon("user@TNSNAME", "pass"); If you have character data with non-ASCII characters, you should make sure that NLS_LANG is set in your - environment. For server modules, you should set it in the + environment. For server modules, you should set it in the server's environment before starting the server. @@ -595,7 +595,7 @@ $conn = Ora_Logon("user@TNSNAME", "pass"); Opens an Oracle cursor associated with connection. - Returns a cursor index or False on failure. Details about the + Returns a cursor index or False on failure. Details about the error can be retrieved using the ora_error and ora_errorcode functions. @@ -619,11 +619,11 @@ $conn = Ora_Logon("user@TNSNAME", "pass"); This function parses an SQL statement or a PL/SQL block and - associates it with the given cursor. Returns 0 on success or -1 on + associates it with the given cursor. Returns 0 on success or -1 on error. - See also Ora_Exec, + See also Ora_Exec, Ora_Fetch, and Ora_Do. @@ -643,12 +643,12 @@ $conn = Ora_Logon("user@TNSNAME", "pass"); - This function undoes an Oracle transaction. (See + This function undoes an Oracle transaction. (See ora_commit for the definition of a transaction.) - Returns true on success, false on error. Details about the error + Returns true on success, false on error. Details about the error can be retrieved using the ora_error and ora_errorcode functions.