Source for file adodb-odbc_oracle.inc.php
Documentation is available at adodb-odbc_oracle.inc.php
V4.97 22 Jan 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved.
Released under both BSD license and Lesser GPL library license.
Whenever there is any discrepancy between the two licenses,
the BSD license will take precedence.
Set tabs to 4 for best viewing.
Latest version is available at http://adodb.sourceforge.net
Oracle support via ODBC. Requires ODBC. Works on Windows.
if (!defined('_ADODB_ODBC_LAYER')) {
include(ADODB_DIR. "/drivers/adodb-odbc.inc.php");
var $metaColumnsSQL = "select cname,coltype,width from col where tname='%s' order by colno";
//var $_bindInputArray = false;
if ($rs === false) return $false;
for ($i= 0; $i < sizeof($arr); $i++ ) {
global $ADODB_FETCH_MODE;
while (!$rs->EOF) { //print_r($rs->fields);
$fld->name = $rs->fields[0];
$fld->type = $rs->fields[1];
$fld->max_length = $rs->fields[2];
function _connect($argDSN, $argUsername, $argPassword, $argDatabasename)
$this->Execute("ALTER SESSION SET NLS_DATE_FORMAT='YYYY-MM-DD HH24:MI:SS'");
//if ($this->_connectionID) odbc_autocommit($this->_connectionID,true);
function _pconnect($argDSN, $argUsername, $argPassword, $argDatabasename)
$this->Execute("ALTER SESSION SET NLS_DATE_FORMAT='YYYY-MM-DD HH24:MI:SS'");
//if ($this->_connectionID) odbc_autocommit($this->_connectionID,true);
|