Source for file adodb-pdo_mssql.inc.php
Documentation is available at adodb-pdo_mssql.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.
var $sysDate = 'convert(datetime,convert(char,GetDate(),102),102)';
function _init($parentDriver)
$parentDriver->hasTransactions = false; ## <<< BUG IN PDO mssql driver
$parentDriver->_bindInputArray = false;
$parentDriver->hasInsertID = true;
function SelectLimit($sql,$nrows=- 1,$offset=- 1,$inputarr= false,$secs2cache= 0)
if (empty($transaction_mode)) {
$this->Execute('SET TRANSACTION ISOLATION LEVEL READ COMMITTED');
if (!stristr($transaction_mode,'isolation')) $transaction_mode = 'ISOLATION LEVEL '. $transaction_mode;
$this->Execute("SET TRANSACTION ". $transaction_mode);
|