Database independent query interface definition for PHP's Microsoft SQL Server extension.
Located in /maintenance/libraries/pear/DB/mssql.php (line 33)
PEAR | --DB_common | --DB_mssql
Inherited from DB_common
DB_common::$dbh
DB_common::$errorcode_map
DB_common::$features
DB_common::$fetchmode
DB_common::$fetchmode_object_class
DB_common::$last_query
DB_common::$options
DB_common::$prepared_queries
DB_common::$prepare_maxstmt
Gets the number of rows affected by the last query.
if the last query was a select, returns 0.
Enable/disable automatic commits
Commit the current transaction.
Creates a new sequence
Deletes a sequence
Determine PEAR::DB error code from mssql's native codes.
If $nativecode isn't known yet, it will be looked up.
Determine MS SQL Server error code by querying @@ERROR.
Fetch a row and insert the data into an existing array.
Formating of the array and the data therein are configurable. See DB_result::fetchInto() for more information.
Returns the query needed to get some backend info
Gather information about an error, then use that info to create a DB error object and finally return that object.
Returns the next free id in a sequence
Move the internal mssql result pointer to the next available result
Quote a string so it can be safely used as a table / column name
Quoting style depends on which database driver is being used.
Roll back (undo) the current transaction.
Returns information about a table or a result set.
NOTE: only supports 'table' and 'flags' if $result is a table name.
Adds a string to the flags array if the flag is not yet in there
Get the flags for a field, currently supports "not_null", "primary_key",
"auto_increment" (mssql identity), "timestamp" (mssql timestamp), "unique_key" (mssql unique index, unique check or primary_key) and "multiple_key" (multikey index)
mssql timestamp is NOT similar to the mysql timestamp so this is maybe not useful at all - is the behaviour of mysql_field_flags that primary keys are alway unique? is the interpretation of multiple_key correct?
Inherited From DB_common
DB_common::DB_common()
DB_common::affectedRows()
DB_common::autoCommit()
DB_common::autoExecute()
DB_common::autoPrepare()
DB_common::buildManipSQL()
DB_common::commit()
DB_common::createSequence()
DB_common::dropSequence()
DB_common::errorCode()
DB_common::errorMessage()
DB_common::errorNative()
DB_common::escapeSimple()
DB_common::execute()
DB_common::executeEmulateQuery()
DB_common::executeMultiple()
DB_common::freePrepared()
DB_common::getAll()
DB_common::getAssoc()
DB_common::getCol()
DB_common::getListOf()
DB_common::getOne()
DB_common::getOption()
DB_common::getRow()
DB_common::getSequenceName()
DB_common::getSpecialQuery()
DB_common::getTables()
DB_common::limitQuery()
DB_common::modifyLimitQuery()
DB_common::modifyQuery()
DB_common::nextId()
DB_common::numRows()
DB_common::prepare()
DB_common::provides()
DB_common::query()
DB_common::quote()
DB_common::quoteIdentifier()
DB_common::quoteSmart()
DB_common::quoteString()
DB_common::raiseError()
DB_common::rollback()
DB_common::setFetchMode()
DB_common::setOption()
DB_common::tableInfo()
DB_common::toString()
DB_common::_convertNullArrayValuesToEmpty()
DB_common::_rtrimArrayValues()
Documentation generated on Fri, 24 Dec 2004 13:02:46 +0000 by phpDocumentor 1.3.0RC3