ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:connection:setconnectionparameter

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
v5:reference:connection:setconnectionparameter [2022/03/24 18:08]
mnewnham
v5:reference:connection:setconnectionparameter [2022/03/28 17:30] (current)
dregad [Oracle] client_identifier available since 5.23.0
Line 37: Line 37:
 ==== Oracle ==== ==== Oracle ====
 //$parameterName// must be one of the following //$parameterName// must be one of the following
 +
 === session_mode === === session_mode ===
 +
 Sets the Oracle Session Mode. The default value is ''OCI_DEFAULT''. Other values are: Sets the Oracle Session Mode. The default value is ''OCI_DEFAULT''. Other values are:
   * ''OCI_CRED_EXT''    * ''OCI_CRED_EXT'' 
   * ''OCI_SYSOPER''    * ''OCI_SYSOPER'' 
   * ''OCI_SYSDBA''   * ''OCI_SYSDBA''
 +
 <code php> <code php>
 $db = ADONewConnection('oci8'); $db = ADONewConnection('oci8');
Line 47: Line 50:
 $db->connect($database,$user,$password); $db->connect($database,$user,$password);
 </code> </code>
 +
 === client_identifier === === client_identifier ===
-Sets the [[https://www.php.net/manual/en/function.oci-set-client-identifier.php|Oracle Client Identifier]]+(ADOdb >= 5.23.0) 
 + 
 +Sets the [[https://www.php.net/manual/en/function.oci-set-client-identifier.php|Oracle Client Identifier]]
 <code php> <code php>
 $db = ADONewConnection('oci8'); $db = ADONewConnection('oci8');
v5/reference/connection/setconnectionparameter.txt · Last modified: 2022/03/28 17:30 by dregad