You are here

protected property Statement::$INTEGRITY_VIOLATION_CONSTRAINT_CODES in Drupal driver for SQL Server and SQL Azure 8.2

ODBC Codes for integrity constraint violation errors.

Type: array

See also

https://msdn.microsoft.com/en-us/library/ms714687(v=vs.85).aspx

File

drivers/lib/Drupal/Driver/Database/sqlsrv/PDO/Statement.php, line 42

Class

Statement
Turbocharged Statement class to work with MSSQL server.

Namespace

Drupal\Driver\Database\sqlsrv\PDO

Code

protected $INTEGRITY_VIOLATION_CONSTRAINT_CODES = [
  '23000',
  '40002',
];