Documentation

MssqlConnection

MssqlConnection class is used for connections with MS SQL database using Microsoft SQL Server Driver (extension is available only for Windows-version PHP). Extension to the class Bitrix\Main\DB\Connection.

Queries the following namespace:

Method Description Available from version
commitTransaction Commits initiated database transaction.
dropTable Deletes table.
getAffectedRowsCount Returns number of affected strings for incomplete query.
getIndexName Returns index name.
getTableFields Returns field objects that correspond to the table columns.
getType Returns type of the database.
getVersion Returns version of connected database.
isIndexExists Checks existence of index.
isTableExists Checks existence of table.
renameTable Renames a table.
rollbackTransaction Roll backs the initiated transaction.
startTransaction Starts new database transaction.


© «Bitrix24», 2001-2022
Up