You are here

public function Schema::UserOptions in Drupal driver for SQL Server and SQL Azure 8

Same name and namespace in other branches
  1. 3.0.x drivers/lib/Drupal/Driver/Database/sqlsrv/Schema.php \Drupal\Driver\Database\sqlsrv\Schema::userOptions()

Returns an array of current connection user options

textsize 2147483647 language us_english dateformat mdy datefirst 7 lock_timeout -1 quoted_identifier SET arithabort SET ansi_null_dflt_on SET ansi_warnings SET ansi_padding SET ansi_nulls SET concat_null_yields_null SET isolation level read committed

Return value

mixed

File

drivers/lib/Drupal/Driver/Database/sqlsrv/Schema.php, line 414
Definition of Drupal\Driver\Database\sqlsrv\Schema

Class

Schema

Namespace

Drupal\Driver\Database\sqlsrv

Code

public function UserOptions() {
  $result = $this->connection
    ->query_direct('DBCC UserOptions')
    ->fetchAllKeyed();
  return $result;
}