"TYPO3 4.0.1: ADODB_odbc_mssql Class Reference", "datetime" => "Sat Dec 2 19:23:31 2006", "date" => "2 Dec 2006", "doxygenversion" => "1.4.6", "projectname" => "TYPO3 4.0.1", "projectnumber" => "4.0.1" ); get_header($doxygen_vars); ?>
Public Member Functions | |
ADODB_odbc_mssql () | |
ServerInfo () | |
IfNull ($field, $ifNull) | |
_insertid () | |
MetaForeignKeys ($table, $owner=false, $upper=false) | |
& | MetaTables ($ttype=false, $showSchema=false, $mask=false) |
& | MetaColumns ($table) |
_query ($sql, $inputarr) | |
SetTransactionMode ($transaction_mode) | |
& | MetaPrimaryKeys ($table) |
& | SelectLimit ($sql, $nrows=-1, $offset=-1, $inputarr=false, $secs2cache=0) |
SQLDate ($fmt, $col=false) | |
Public Attributes | |
$databaseType = 'odbc_mssql' | |
$fmtDate = "'Y-m-d'" | |
uppercase function | |
$fmtTimeStamp = "'Y-m-d H:i:s'" | |
used by DBDate() as the default date format used by the database | |
$_bindInputArray = true | |
A boolean variable to state whether its a persistent connection or normal connection. */. | |
$metaTablesSQL = "select name,case when type='U' then 'T' else 'V' end from sysobjects where (type='U' or type='V') and (name not in ('sysallocations','syscolumns','syscomments','sysdepends','sysfilegroups','sysfiles','sysfiles1','sysforeignkeys','sysfulltextcatalogs','sysindexes','sysindexkeys','sysmembers','sysobjects','syspermissions','sysprotects','sysreferences','systypes','sysusers','sysalternates','sysconstraints','syssegments','REFERENTIAL_CONSTRAINTS','CHECK_CONSTRAINTS','CONSTRAINT_TABLE_USAGE','CONSTRAINT_COLUMN_USAGE','VIEWS','VIEW_TABLE_USAGE','VIEW_COLUMN_USAGE','SCHEMATA','TABLES','TABLE_CONSTRAINTS','TABLE_PRIVILEGES','COLUMNS','COLUMN_DOMAIN_USAGE','COLUMN_PRIVILEGES','DOMAINS','DOMAIN_CONSTRAINTS','KEY_COLUMN_USAGE'))" | |
$metaColumnsSQL = "select c.name,t.name,c.length from syscolumns c join systypes t on t.xusertype=c.xusertype join sysobjects o on o.id=c.id where o.name='%s'" | |
$hasTop = 'top' | |
supports affected rows for update/delete? | |
$sysDate = 'GetDate()' | |
cache for 1 hour | |
$sysTimeStamp = 'GetDate()' | |
name of function that returns the current date | |
$leftOuter = '*=' | |
indicates that all fields in order by must be unique | |
$rightOuter = '=*' | |
operator to use for left outer join in WHERE clause | |
$substr = 'substring' | |
default concat operator -- change to || for Oracle/Interbase | |
$length = 'len' | |
substring operator | |
$ansiOuter = true | |
operator to use for right outer join in WHERE clause | |
$identitySQL = 'select @@IDENTITY' | |
$hasInsertID = true | |
$connectStmt = 'SET CONCAT_NULL_YIELDS_NULL OFF' |
Definition at line 23 of file adodb-odbc_mssql.inc.php.
|
Reimplemented from ADOConnection. Definition at line 79 of file adodb-odbc_mssql.inc.php. References ADOConnection::GetArray(), and ADOConnection::qstr(). |
|
Reimplemented from ADOConnection. Definition at line 118 of file adodb-odbc_mssql.inc.php. References ADOConnection::MetaTables(), and ADOConnection::qstr(). |
|
Will select, getting rows from $offset (1-based), for $nrows. This simulates the MySQL "select * from table limit $offset,$nrows" , and the PostgreSQL "select * from table limit $nrows offset $offset". Note that MySQL and PostgreSQL parameter ordering is the opposite of the other. eg. SelectLimit('select * from table',3); will return rows 1 to 3 (1-based) SelectLimit('select * from table',3,2); will return rows 3 to 5 (1-based) Uses SELECT TOP for Microsoft databases (when $this->hasTop is set) BUG: Currently SelectLimit fails with $sql with LIMIT or TOP clause already set
Reimplemented from ADOConnection. Definition at line 182 of file adodb-odbc_mssql.inc.php. References ADOConnection::Execute(), and ADOConnection::SelectLimit(). |
|
Get server version info...
Reimplemented from ADODB_odbc. Definition at line 50 of file adodb-odbc_mssql.inc.php. References ADOConnection::_findvers(), and ADOConnection::GetRow(). |