SQL Server database driver
Located in /libraries/joomla/database/driver/sqlsrv.php (line 20)
JDatabase | --JDatabaseDriver | --JDatabaseDriverSqlsrv
Class | Description |
---|---|
![]() |
SQL Server database driver |
![]() |
SQL Server database driver |
The name of the database driver.
The character(s) used to quote SQL statement names such as table names or field names, etc. The child classes should define this as necessary. If a single character string the same character is used for both sides of the quoted name, else the first character will be used for the opening quote and the second for the closing quote.
The null or zero representation of a timestamp for the database driver. This should be defined in child classes to hold the appropriate value for the engine.
Inherited from JDatabaseDriver
JDatabaseDriver::$callStacks
JDatabaseDriver::$connection
JDatabaseDriver::$count
JDatabaseDriver::$cursor
JDatabaseDriver::$debug
JDatabaseDriver::$disconnectHandlers
JDatabaseDriver::$errorMsg
JDatabaseDriver::$errorNum
JDatabaseDriver::$instances
JDatabaseDriver::$limit
JDatabaseDriver::$log
JDatabaseDriver::$offset
JDatabaseDriver::$options
JDatabaseDriver::$sql
JDatabaseDriver::$tablePrefix
JDatabaseDriver::$timings
JDatabaseDriver::$transactionDepth
JDatabaseDriver::$utf
Test to see if the SQLSRV connector is available.
Constructor.
Method to check and see if a field exists in a table.
Connects to the database if needed.
Determines if the connection to the server is active.
Disconnects the database.
Drops a table from the database.
Method to escape a string for usage in an SQL statement.
The escaping for MSSQL isn't handled in the driver though that would be nice. Because of this we need to handle the escaping ourselves.
Execute the SQL statement.
Method to fetch a row from the result set cursor as an array.
Method to fetch a row from the result set cursor as an associative array.
Method to fetch a row from the result set cursor as an object.
Method to free up the memory used for the result set.
Get the number of affected rows for the previous executed SQL statement.
Method to get the database collation in use by sampling a text field of a table in the database.
Get the number of returned rows for the previous executed SQL statement.
Retrieves field information about the given tables.
Get table constraints
Shows the table CREATE statement that creates the given tables.
This is unsupported by MSSQL.
Get the details list of keys for a table.
Method to get an array of all tables in the database.
Get the version of the database connector.
Method to get the auto-incremented value from the last INSERT statement.
Inserts a row into a table based on an object's properties.
Method to wrap an SQL statement to provide a LIMIT and OFFSET behavior for scrolling through a result set.
Method to get the first field of the first row of the result set from the database query.
Locks a table in the database.
Rename constraints.
Renames a table in the database.
This function replaces a string identifier $prefix with the string held is the tablePrefix class variable.
Select a database for use.
Set the connection to use UTF-8 character encoding.
Method to commit a transaction.
Method to roll back a transaction.
Method to initialize a transaction.
Unlocks tables in the database.
Inherited From JDatabaseDriver
JDatabaseDriver::__construct()
JDatabaseDriver::addDisconnectHandler()
JDatabaseDriver::alterDbCharacterSet()
JDatabaseDriver::connect()
JDatabaseDriver::connected()
JDatabaseDriver::createDatabase()
JDatabaseDriver::disconnect()
JDatabaseDriver::dropTable()
JDatabaseDriver::escape()
JDatabaseDriver::execute()
JDatabaseDriver::fetchArray()
JDatabaseDriver::fetchAssoc()
JDatabaseDriver::fetchObject()
JDatabaseDriver::freeResult()
JDatabaseDriver::getAffectedRows()
JDatabaseDriver::getAlterDbCharacterSet()
JDatabaseDriver::getCallStacks()
JDatabaseDriver::getCollation()
JDatabaseDriver::getConnection()
JDatabaseDriver::getConnectors()
JDatabaseDriver::getCount()
JDatabaseDriver::getCreateDatabaseQuery()
JDatabaseDriver::getDatabase()
JDatabaseDriver::getDateFormat()
JDatabaseDriver::getExporter()
JDatabaseDriver::getImporter()
JDatabaseDriver::getInstance()
JDatabaseDriver::getIterator()
JDatabaseDriver::getLog()
JDatabaseDriver::getMinimum()
JDatabaseDriver::getNullDate()
JDatabaseDriver::getNumRows()
JDatabaseDriver::getPrefix()
JDatabaseDriver::getQuery()
JDatabaseDriver::getTableColumns()
JDatabaseDriver::getTableCreate()
JDatabaseDriver::getTableKeys()
JDatabaseDriver::getTableList()
JDatabaseDriver::getTimings()
JDatabaseDriver::getUTFSupport()
JDatabaseDriver::getVersion()
JDatabaseDriver::hasUTFSupport()
JDatabaseDriver::insertid()
JDatabaseDriver::insertObject()
JDatabaseDriver::isMinimumVersion()
JDatabaseDriver::loadAssoc()
JDatabaseDriver::loadAssocList()
JDatabaseDriver::loadColumn()
JDatabaseDriver::loadNextObject()
JDatabaseDriver::loadNextRow()
JDatabaseDriver::loadObject()
JDatabaseDriver::loadObjectList()
JDatabaseDriver::loadResult()
JDatabaseDriver::loadRow()
JDatabaseDriver::loadRowList()
JDatabaseDriver::lockTable()
JDatabaseDriver::quote()
JDatabaseDriver::quoteName()
JDatabaseDriver::quoteNameStr()
JDatabaseDriver::renameTable()
JDatabaseDriver::replacePrefix()
JDatabaseDriver::select()
JDatabaseDriver::setDebug()
JDatabaseDriver::setQuery()
JDatabaseDriver::setUTF()
JDatabaseDriver::splitSql()
JDatabaseDriver::transactionCommit()
JDatabaseDriver::transactionRollback()
JDatabaseDriver::transactionStart()
JDatabaseDriver::truncateTable()
JDatabaseDriver::unlockTables()
JDatabaseDriver::updateObject()
JDatabaseDriver::__call()
Inherited From JDatabase
JDatabase::getConnectors()
JDatabase::getErrorMsg()
JDatabase::getErrorNum()
JDatabase::getInstance()
JDatabase::query()
JDatabase::splitSql()
JDatabase::stderr()
JDatabase::test()
Documentation generated on Tue, 19 Nov 2013 15:14:14 +0100 by phpDocumentor 1.4.3