SQL Server のエラーコード
- 1205Transaction (Process ID) was deadlocked on lock resources with another process and has been chosen as the deadlock victim(デッドロックの犠牲者として選択された)
- 2627Violation of PRIMARY KEY / UNIQUE KEY constraint. Cannot insert duplicate key in object(PRIMARY KEY / UNIQUE KEY 制約違反)
- 2601Cannot insert duplicate key row in object with unique index. The duplicate key value is ...(一意インデックスに重複キー行を挿入できない)
- 547The INSERT/UPDATE/DELETE statement conflicted with the FOREIGN KEY / CHECK constraint(FOREIGN KEY / CHECK 制約との競合)
- 18456Login failed for user(ユーザーのログイン失敗)
- 8152String or binary data would be truncated(文字列またはバイナリデータが切り詰められる)
- 2628String or binary data would be truncated in table, column ...; truncated value(文字列またはバイナリデータが切り詰められる (テーブル/列/値を表示))
- 1222Lock request time out period exceeded(ロック要求のタイムアウト期間を超過)
- 9002The transaction log for database is full due to ...(トランザクションログが満杯)
- 1105Could not allocate space for object in database because the filegroup is full(ファイルグループが満杯のため領域を割り当てられない)
- 208Invalid object name(無効なオブジェクト名)
- 229The SELECT/EXECUTE permission was denied on the object(オブジェクトに対する SELECT/EXECUTE 権限が拒否された)
- 4060Cannot open database requested by the login. The login failed(ログインが要求したデータベースを開けない)
- 233A connection was successfully established with the server, but then an error occurred (no process is on the other end of the pipe)(接続確立後にエラーが発生)
- 823The operating system returned error to SQL Server during a read/write at offset in file (I/O error)(読み取り/書き込み中に OS がエラーを返した)
- 824SQL Server detected a logical consistency-based I/O error (page corruption)(論理整合性ベースの I/O エラー)
- 701There is insufficient system memory in resource pool to run this query(リソースプールのシステムメモリ不足)
- 845Time-out occurred while waiting for buffer latch(バッファラッチ待機中のタイムアウト)
- 3201Cannot open backup device. Operating system error (backup device error)(バックアップデバイスを開けない)
- 8134Divide by zero error encountered(ゼロ除算エラー)
- 245Conversion failed when converting the value to data type(データ型への値の変換に失敗)
- 515Cannot insert the value NULL into column(列に NULL 値を挿入できない)
- 8115Arithmetic overflow error converting expression to data type(式のデータ型への変換で算術オーバーフロー)
- 512Subquery returned more than 1 value(副クエリが複数の値を返した)
- 207Invalid column name(無効な列名)
- 156Incorrect syntax near the keyword(キーワード付近の構文が不正)
- 2812Could not find stored procedure(ストアドプロシージャが見つからない)
- 8623The query processor ran out of internal resources and could not produce a query plan(クエリプロセッサの内部リソース不足で実行計画を生成できない)
- 4104The multi-part identifier could not be bound(マルチパート識別子をバインドできない)
- 2714There is already an object named in the database(同名のオブジェクトがすでに存在する)
- 601Could not continue scan with NOLOCK due to data movement(データ移動のため NOLOCK でのスキャンを続行できない)
- 50000RAISERROR で発生させたカスタムエラー
- 3902The COMMIT TRANSACTION request has no corresponding BEGIN TRANSACTION(COMMIT に対応する BEGIN TRANSACTION がない)
- 1101Could not allocate a new page because of insufficient disk space in filegroup(ファイルグループのディスク容量不足により新しいページを割り当てられない)
- 3729Cannot DROP because it is being referenced by object(オブジェクトから参照されているため DROP できない)
- 3961Snapshot isolation transaction failed because the object was modified by a DDL statement(DDL 文でオブジェクトが変更されたためスナップショット分離トランザクションが失敗)
- 1785Introducing FOREIGN KEY constraint may cause cycles or multiple cascade paths(FOREIGN KEY 制約により循環または複数のカスケードパスが生じる可能性)
- 9421XML parsing: illegal xml character(XML 解析: 無効な XML 文字)
- 15151Cannot find the object/principal because it does not exist or you do not have permission(オブジェクト/プリンシパルが存在しないか権限がないため見つからない)
- 4834You do not have permission to use the bulk load statement(一括読込み文を使用する権限がない)
- 10928Resource limit for the database has been reached (Azure SQL)(データベースのリソース上限に到達)
- 40544The database has reached its size quota (Azure SQL)(データベースがサイズクォータに到達)
- 40613Database is not currently available (Azure SQL)(データベースが現在利用できない)
- 102Incorrect syntax near 'token'('token' 付近の構文が正しくない)
- 8114Error converting data type X to Y(データ型 X から Y への変換エラー)
- 1204The instance of the SQL Server Database Engine cannot obtain a LOCK resource(SQL Server データベースエンジンのインスタンスが LOCK リソースを取得できない)
- 3906Failed to update database because the database is read-only(データベースが読み取り専用のため更新に失敗)
- 15023User already exists in the current database(ユーザーは現在のデータベースに既に存在する)
- 18452Login failed. The login is from an untrusted domain and cannot be used with Windows authentication(ログイン失敗。信頼されていないドメインからのログインで Windows 認証に使用できない)
- 605Attempt to fetch logical page belongs to a different allocation unit(取得しようとした論理ページが別のアロケーションユニットに属する)
- 4922ALTER TABLE ALTER COLUMN failed because one or more objects access this column(1 つ以上のオブジェクトがこの列にアクセスしているため ALTER TABLE ALTER COLUMN が失敗)
- 7202Could not find server 'name' in sys.servers(sys.servers にサーバー 'name' が見つからない)
- 40501The service is currently busy. Retry the request after 10 seconds(サービスは現在ビジー。10 秒後に要求を再試行)
- 8645A time out occurred while waiting for memory resources to execute the query(クエリ実行用のメモリリソース待機中にタイムアウト発生)
- 8651Could not perform the operation because the requested memory grant was not available(要求されたメモリ許可が利用できないため操作を実行できない)
- 5061ALTER DATABASE failed because a lock could not be placed on database(データベースにロックを設定できないため ALTER DATABASE が失敗)
- 3702Cannot drop database because it is currently in use(データベースは使用中のため削除できない)
- 15138The database principal owns a schema in the database, and cannot be dropped(データベースプリンシパルがスキーマを所有しているため削除できない)
- 1934INSERT/UPDATE failed because the following SET options have incorrect settings(次の SET オプションの設定が誤っているため INSERT/UPDATE が失敗)
- 468Cannot resolve the collation conflict(照合順序の競合を解決できない)
- 4864Bulk load data conversion error (type mismatch or invalid character)(一括読込みのデータ変換エラー (型の不一致または無効な文字))
- 916The server principal is not able to access the database under the current security context(サーバープリンシパルは現在のセキュリティコンテキストでデータベースにアクセスできない)