Every error in the library, by number and alphabetically. 148 errors so far.
By error number
- 26 Error locating server or instance specified (SQL Network Interfaces)
- 40 Could not open a connection to SQL Server (Named Pipes Provider)
- 53 A network-related or instance-specific error (server not found)
- 102 Incorrect syntax near
- 105 Unclosed quotation mark after the character string
- 134 The variable name has already been declared
- 137 Must declare the scalar variable
- 156 Incorrect syntax near the keyword
- 201 Procedure or function expects a parameter which was not supplied
- 206 Operand type clash
- 207 Invalid column name
- 208 Invalid object name
- 209 Ambiguous column name
- 213 Column name or number of supplied values does not match table definition
- 217 Maximum stored procedure, function, trigger or view nesting level exceeded
- 220 Arithmetic overflow error for data type, value
- 229 The permission was denied on the object
- 233 No process is on the other end of the pipe (client error)
- 241 Conversion failed when converting date and/or time from character string
- 242 The conversion of a varchar data type to a datetime data type resulted in an out-of-range value
- 245 Conversion failed converting varchar value to int
- 258 The wait operation timed out / execution timeout expired (client error)
- 262 Permission denied, unable to run a statement
- 266 Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT
- 300 Permission was denied on object (for example VIEW SERVER STATE)
- 402 The data types are incompatible in the operator
- 468 Cannot resolve the collation conflict
- 512 Subquery returned more than 1 value
- 515 Cannot insert the value NULL into a NOT NULL column
- 530 The maximum recursion has been exhausted before statement completion
- 544 Cannot insert explicit value for identity column when IDENTITY_INSERT is OFF
- 547 Statement conflicted with a FOREIGN KEY or CHECK constraint
- 601 Could not continue scan with NOLOCK due to data movement
- 605 Attempt to fetch logical page failed; it belongs to a different allocation unit
- 701 There is insufficient system memory in resource pool to run this query
- 802 There is insufficient memory available in the buffer pool
- 823 The operating system returned an error during a read or write (I/O error)
- 824 SQL Server detected a logical consistency-based I/O error
- 825 A read of the file succeeded after failing (read-retry warning)
- 829 Page is marked RestorePending
- 916 The server principal is not able to access the database under the current security context
- 922 Database is being recovered; waiting until recovery is finished
- 924 Database is already open and can only have one user at a time
- 926 Database cannot be opened; it has been marked SUSPECT by recovery
- 942 Database cannot be opened because it is offline
- 945 Database cannot be opened due to inaccessible files or insufficient memory or disk space
- 976 The target database is participating in an availability group and is not accessible for queries
- 983 Unable to access availability database because the replica is not PRIMARY or SECONDARY
- 1101 Could not allocate a new page because the filegroup is full
- 1105 Could not allocate space because the filegroup is full
- 1204 Cannot obtain a LOCK resource at this time
- 1205 Transaction was deadlocked and chosen as the victim
- 1222 Lock request time out period exceeded
- 1408 The remote copy of the database is not recovered far enough to join
- 1418 The server network address cannot be reached or does not exist
- 1785 Introducing FOREIGN KEY may cause cycles or multiple cascade paths
- 1813 Could not open new database; CREATE DATABASE is aborted
- 1834 The file cannot be overwritten because it is being used by another database
- 1919 Column is of a type that is invalid for use as a key column in an index
- 1934 Statement failed because SET options have incorrect settings
- 2570 Column value is out of range for its data type (data purity)
- 2601 Cannot insert duplicate key row with unique index
- 2627 Violation of PRIMARY KEY / UNIQUE constraint
- 2628 String or binary data would be truncated (named column)
- 2714 There is already an object named in the database
- 2760 The specified schema name either does not exist or you do not have permission
- 2812 Could not find stored procedure
- 3013 BACKUP DATABASE / RESTORE DATABASE is terminating abnormally
- 3101 Exclusive access could not be obtained because the database is in use
- 3117 The log or differential backup cannot be restored because no files are ready to roll forward
- 3154 The backup set holds a backup of a database other than the existing database
- 3156 File cannot be restored to the location; use WITH MOVE
- 3159 The tail of the log for the database has not been backed up
- 3169 The database was backed up on a server running an incompatible version
- 3183 RESTORE detected an error on a page as read from the backup set
- 3201 Cannot open backup device (operating system error)
- 3203 Read on the backup device failed
- 3241 The media family on device is incorrectly formed
- 3414 An error occurred during recovery, preventing the database from restarting
- 3701 Cannot drop the object because it does not exist or no permission
- 3702 Cannot drop database because it is currently in use
- 3902 The COMMIT TRANSACTION request has no corresponding BEGIN TRANSACTION
- 3903 The ROLLBACK TRANSACTION request has no corresponding BEGIN TRANSACTION
- 3930 The current transaction cannot be committed (doomed transaction)
- 4060 Cannot open database requested by the login
- 4064 Cannot open user default database
- 4104 The multi-part identifier could not be bound
- 4121 Cannot find either column or the user-defined function or aggregate
- 4145 An expression of non-boolean type specified where a condition is expected
- 4208 The statement is not allowed while the recovery model is SIMPLE
- 4214 BACKUP LOG cannot be performed because there is no current database backup
- 4305 The log in this backup set begins at an LSN that is too recent to apply
- 4902 Cannot find the object because it does not exist or you do not have permissions
- 5030 The database could not be exclusively locked to perform the operation
- 5120 Unable to open the physical file (operating system error)
- 5123 CREATE FILE encountered an operating system error
- 5173 One or more files do not match the primary file of the database
- 6401 Cannot roll back; no transaction or savepoint of that name was found
- 7202 Could not find server in sys.servers
- 7303 Cannot initialize the data source object of OLE DB provider for linked server
- 7356 The OLE DB provider supplied inconsistent metadata for a column
- 7391 The provider was unable to begin a distributed transaction
- 7399 The OLE DB provider for linked server reported an error
- 7411 Server is not configured for DATA ACCESS (or RPC)
- 7416 Access to the remote server is denied because no login-mapping exists
- 8101 An explicit value for the identity column can only be specified with a column list and IDENTITY_INSERT ON
- 8114 Error converting data type X to Y
- 8115 Arithmetic overflow converting expression to data type
- 8116 Argument data type is invalid for argument of function
- 8120 Column is invalid in the select list because it is not in an aggregate or GROUP BY
- 8134 Divide by zero error encountered
- 8152 String or binary data would be truncated
- 8169 Conversion failed when converting from a character string to uniqueidentifier
- 8622 Query processor could not produce a query plan because of the hints
- 8623 The query processor ran out of internal resources and could not produce a query plan
- 8624 Internal Query Processor Error: could not produce a query plan
- 8645 A timeout occurred while waiting for memory resources to execute the query
- 8651 The requested memory grant was not available in resource pool
- 8921 Check terminated: a failure was detected while collecting facts
- 9001 The log for database is not available
- 9002 The transaction log for database is full
- 10054 An existing connection was forcibly closed by the remote host (client error)
- 10060 A connection attempt failed because the connected party did not properly respond
- 10061 TCP Provider: target machine actively refused it
- 14258 Cannot perform this operation while SQL Server Agent is starting
- 14262 The specified job (or other object) does not exist
- 14274 Cannot add, update or delete a job that originated from an MSX server
- 15023 User, group or role already exists in the current database
- 15138 The database principal owns a schema and cannot be dropped
- 15151 Cannot find the login or user because it does not exist or you do not have permission
- 15247 User does not have permission to perform this action
- 15434 Could not drop login as the user is currently logged in
- 17803 There was a memory allocation failure during connection establishment
- 17809 Could not connect because the maximum number of user connections has been reached
- 17890 A significant part of SQL Server process memory has been paged out
- 18452 Login failed: the login is from an untrusted domain
- 18456 Login failed for user
- 18461 Login failed: server is in single user mode
- 18470 Login failed: the account is disabled
- 18486 Login failed because the account is currently locked out
- 18487 Login failed: the password of the account has expired
- 18488 Login failed: the password of the account must be changed
- 19456 None of the IP addresses configured for the listener can be hosted by the server
- 22022 SQLServerAgent is not currently running so it cannot be notified of this action
- 35206 A connection timeout has occurred on a previously established connection to an availability replica
- 35250 The connection to the primary replica is not active
- 40615 Cannot open server requested by the login (Azure firewall)
- 41131 Failed to bring availability group online; the operation timed out
A to Z by message
A
- A connection attempt failed because the connected party did not properly respond 10060
- A connection timeout has occurred on a previously established connection to an availability replica 35206
- A network-related or instance-specific error (server not found) 53
- A read of the file succeeded after failing (read-retry warning) 825
- A significant part of SQL Server process memory has been paged out 17890
- A timeout occurred while waiting for memory resources to execute the query 8645
- Access to the remote server is denied because no login-mapping exists 7416
- Ambiguous column name 209
- An error occurred during recovery, preventing the database from restarting 3414
- An existing connection was forcibly closed by the remote host (client error) 10054
- An explicit value for the identity column can only be specified with a column list and IDENTITY_INSERT ON 8101
- An expression of non-boolean type specified where a condition is expected 4145
- Argument data type is invalid for argument of function 8116
- Arithmetic overflow converting expression to data type 8115
- Arithmetic overflow error for data type, value 220
- Attempt to fetch logical page failed; it belongs to a different allocation unit 605
B
- BACKUP DATABASE / RESTORE DATABASE is terminating abnormally 3013
- BACKUP LOG cannot be performed because there is no current database backup 4214
C
- Cannot add, update or delete a job that originated from an MSX server 14274
- Cannot drop database because it is currently in use 3702
- Cannot drop the object because it does not exist or no permission 3701
- Cannot find either column or the user-defined function or aggregate 4121
- Cannot find the login or user because it does not exist or you do not have permission 15151
- Cannot find the object because it does not exist or you do not have permissions 4902
- Cannot initialize the data source object of OLE DB provider for linked server 7303
- Cannot insert duplicate key row with unique index 2601
- Cannot insert explicit value for identity column when IDENTITY_INSERT is OFF 544
- Cannot insert the value NULL into a NOT NULL column 515
- Cannot obtain a LOCK resource at this time 1204
- Cannot open backup device (operating system error) 3201
- Cannot open database requested by the login 4060
- Cannot open server requested by the login (Azure firewall) 40615
- Cannot open user default database 4064
- Cannot perform this operation while SQL Server Agent is starting 14258
- Cannot resolve the collation conflict 468
- Cannot roll back; no transaction or savepoint of that name was found 6401
- Check terminated: a failure was detected while collecting facts 8921
- Column is invalid in the select list because it is not in an aggregate or GROUP BY 8120
- Column is of a type that is invalid for use as a key column in an index 1919
- Column name or number of supplied values does not match table definition 213
- Column value is out of range for its data type (data purity) 2570
- Conversion failed converting varchar value to int 245
- Conversion failed when converting date and/or time from character string 241
- Conversion failed when converting from a character string to uniqueidentifier 8169
- Could not allocate a new page because the filegroup is full 1101
- Could not allocate space because the filegroup is full 1105
- Could not connect because the maximum number of user connections has been reached 17809
- Could not continue scan with NOLOCK due to data movement 601
- Could not drop login as the user is currently logged in 15434
- Could not find server in sys.servers 7202
- Could not find stored procedure 2812
- Could not open a connection to SQL Server (Named Pipes Provider) 40
- Could not open new database; CREATE DATABASE is aborted 1813
- CREATE FILE encountered an operating system error 5123
D
- Database cannot be opened because it is offline 942
- Database cannot be opened due to inaccessible files or insufficient memory or disk space 945
- Database cannot be opened; it has been marked SUSPECT by recovery 926
- Database is already open and can only have one user at a time 924
- Database is being recovered; waiting until recovery is finished 922
- Divide by zero error encountered 8134
E
- Error converting data type X to Y 8114
- Error locating server or instance specified (SQL Network Interfaces) 26
- Exclusive access could not be obtained because the database is in use 3101
F
- Failed to bring availability group online; the operation timed out 41131
- File cannot be restored to the location; use WITH MOVE 3156
I
- Incorrect syntax near 102
- Incorrect syntax near the keyword 156
- Internal Query Processor Error: could not produce a query plan 8624
- Introducing FOREIGN KEY may cause cycles or multiple cascade paths 1785
- Invalid column name 207
- Invalid object name 208
L
- Lock request time out period exceeded 1222
- Login failed because the account is currently locked out 18486
- Login failed for user 18456
- Login failed: server is in single user mode 18461
- Login failed: the account is disabled 18470
- Login failed: the login is from an untrusted domain 18452
- Login failed: the password of the account has expired 18487
- Login failed: the password of the account must be changed 18488
M
- Maximum stored procedure, function, trigger or view nesting level exceeded 217
- Must declare the scalar variable 137
N
- No process is on the other end of the pipe (client error) 233
- None of the IP addresses configured for the listener can be hosted by the server 19456
O
P
- Page is marked RestorePending 829
- Permission denied, unable to run a statement 262
- Permission was denied on object (for example VIEW SERVER STATE) 300
- Procedure or function expects a parameter which was not supplied 201
Q
R
- Read on the backup device failed 3203
- RESTORE detected an error on a page as read from the backup set 3183
S
- Server is not configured for DATA ACCESS (or RPC) 7411
- SQL Server detected a logical consistency-based I/O error 824
- SQLServerAgent is not currently running so it cannot be notified of this action 22022
- Statement conflicted with a FOREIGN KEY or CHECK constraint 547
- Statement failed because SET options have incorrect settings 1934
- String or binary data would be truncated 8152
- String or binary data would be truncated (named column) 2628
- Subquery returned more than 1 value 512
T
- TCP Provider: target machine actively refused it 10061
- The backup set holds a backup of a database other than the existing database 3154
- The COMMIT TRANSACTION request has no corresponding BEGIN TRANSACTION 3902
- The connection to the primary replica is not active 35250
- The conversion of a varchar data type to a datetime data type resulted in an out-of-range value 242
- The current transaction cannot be committed (doomed transaction) 3930
- The data types are incompatible in the operator 402
- The database could not be exclusively locked to perform the operation 5030
- The database principal owns a schema and cannot be dropped 15138
- The database was backed up on a server running an incompatible version 3169
- The file cannot be overwritten because it is being used by another database 1834
- The log for database is not available 9001
- The log in this backup set begins at an LSN that is too recent to apply 4305
- The log or differential backup cannot be restored because no files are ready to roll forward 3117
- The maximum recursion has been exhausted before statement completion 530
- The media family on device is incorrectly formed 3241
- The multi-part identifier could not be bound 4104
- The OLE DB provider for linked server reported an error 7399
- The OLE DB provider supplied inconsistent metadata for a column 7356
- The operating system returned an error during a read or write (I/O error) 823
- The permission was denied on the object 229
- The provider was unable to begin a distributed transaction 7391
- The query processor ran out of internal resources and could not produce a query plan 8623
- The remote copy of the database is not recovered far enough to join 1408
- The requested memory grant was not available in resource pool 8651
- The ROLLBACK TRANSACTION request has no corresponding BEGIN TRANSACTION 3903
- The server network address cannot be reached or does not exist 1418
- The server principal is not able to access the database under the current security context 916
- The specified job (or other object) does not exist 14262
- The specified schema name either does not exist or you do not have permission 2760
- The statement is not allowed while the recovery model is SIMPLE 4208
- The tail of the log for the database has not been backed up 3159
- The target database is participating in an availability group and is not accessible for queries 976
- The transaction log for database is full 9002
- The variable name has already been declared 134
- The wait operation timed out / execution timeout expired (client error) 258
- There is already an object named in the database 2714
- There is insufficient memory available in the buffer pool 802
- There is insufficient system memory in resource pool to run this query 701
- There was a memory allocation failure during connection establishment 17803
- Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT 266
- Transaction was deadlocked and chosen as the victim 1205
U
- Unable to access availability database because the replica is not PRIMARY or SECONDARY 983
- Unable to open the physical file (operating system error) 5120
- Unclosed quotation mark after the character string 105
- User does not have permission to perform this action 15247
- User, group or role already exists in the current database 15023