Class Zend_Db_Adapter_Sqlsrv
- Zend_Db_Adapter_Abstract
-
Zend_Db_Adapter_Sqlsrv
Package: Zend\Db\Adapter
Category: Zend
Copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
License: New BSD License
Located at Zend/Db/Adapter/Sqlsrv.php
Category: Zend
Copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
License: New BSD License
Located at Zend/Db/Adapter/Sqlsrv.php
protected
|
|
protected
|
#
_checkRequiredOptions( array $config )
Check for config options that are mandatory. Throw exceptions if any are missing. |
public
true
|
|
public
boolean
|
|
public
|
|
public
|
|
protected
string
|
|
public
string
|
#
lastInsertId( string $tableName = null, string $primaryKey = null )
Gets the last ID generated automatically by an IDENTITY/AUTOINCREMENT column. |
public
integer
|
|
public
array
|
|
public
array
|
#
describeTable( string $tableName, string $schemaName = null )
Returns the column descriptions for a table. |
protected
|
|
protected
|
|
protected
|
|
public
|
|
public
string
|
|
public
boolean
|
|
public
string
|
protected
array
|
$_config | array(
'dbname' => null,
'username' => null,
'password' => null,
) |
#
User-provided configuration. |
protected
integer
|
$_lastInsertId |
|
#
Last insert id from INSERT query |
protected
string
|
$_lastInsertSQL | 'SELECT SCOPE_IDENTITY() as Current_Identity' |
#
Query used to fetch last insert id |
protected
array
|
$_numericDataTypes | array(
Zend_Db::INT_TYPE => Zend_Db::INT_TYPE,
Zend_Db::BIGINT_TYPE => Zend_Db::BIGINT_TYPE,
Zend_Db::FLOAT_TYPE => Zend_Db::FLOAT_TYPE,
'INT' => Zend_Db::INT_TYPE,
'SMALLINT' => Zend_Db::INT_TYPE,
'TINYINT' => Zend_Db::INT_TYPE,
'BIGINT' => Zend_Db::BIGINT_TYPE,
'DECIMAL' => Zend_Db::FLOAT_TYPE,
'FLOAT' => Zend_Db::FLOAT_TYPE,
'MONEY' => Zend_Db::FLOAT_TYPE,
'NUMERIC' => Zend_Db::FLOAT_TYPE,
'REAL' => Zend_Db::FLOAT_TYPE,
'SMALLMONEY' => Zend_Db::FLOAT_TYPE,
) |
#
Keys are UPPERCASE SQL datatypes or the constants Zend_Db::INT_TYPE, Zend_Db::BIGINT_TYPE, or Zend_Db::FLOAT_TYPE. |
protected
string
|
$_defaultStmtClass | 'Zend_Db_Statement_Sqlsrv' |
#
Default class name for a DB statement. |
$_allowSerialization,
$_autoQuoteIdentifiers,
$_autoReconnectOnUnserialize,
$_caseFolding,
$_connection,
$_defaultProfilerClass,
$_fetchMode,
$_profiler
|