Commit 63b76aa
Add error code 2601 (#153)
SQL Server have two slightly different error codes for duplicate key errors:
2627 occurs on unique/PK constraint violations, while 2601 is triggered by unique index violations.
Both indicate duplicate keys but stem from different schema definitions.
Co-authored-by: Rasmus Nordström <[email protected]>1 parent 4937266 commit 63b76aa
2 files changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
30 | 35 | | |
31 | 36 | | |
32 | 37 | | |
| |||
0 commit comments