Closed genyslt closed 2 years ago
PHP version 8.1.11 Microsoft ODBC Driver version [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]
CONFIG array( 'Database' => *, 'Uid' => **, 'PWD' => *, 'CharacterSet' => 'UTF-8', 'ReturnDatesAsStrings' => true, 'MultipleActiveResultSets' => true, 'LoginTimeout' => 5 ) Problem description The sqlsrv_errors(SQLSRV_ERR_ERRORS) returns wrong code Expected behavior and actual behavior For all situations: FOREIGN KEY constraint, UNIQUE KEY, PRIMARY KEY, TRIGGER and others errors, the DRIVER returns CODE=50000
Uh, I realy sorry, but i now see, than this query runs in BEGIN TRY CATCH. I think it is false negative
PHP version
8.1.11 Microsoft ODBC Driver version
[Microsoft][ODBC Driver 17 for SQL Server][SQL Server]
CONFIG array( 'Database' => *, 'Uid' => **, 'PWD' => *, 'CharacterSet' => 'UTF-8', 'ReturnDatesAsStrings' => true, 'MultipleActiveResultSets' => true, 'LoginTimeout' => 5 ) Problem description
The sqlsrv_errors(SQLSRV_ERR_ERRORS) returns wrong code Expected behavior and actual behavior
For all situations: FOREIGN KEY constraint, UNIQUE KEY, PRIMARY KEY, TRIGGER and others errors, the DRIVER returns CODE=50000