By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
| (No column name) |
|---|
| Microsoft SQL Server 2017 (RTM-CU30) (KB5013756) - 14.0.3451.2 (X64) Jun 22 2022 18:20:15 Copyright (C) 2017 Microsoft Corporation Express Edition (64-bit) on Windows Server 2019 Standard 10.0 <X64> (Build 17763: ) (Hypervisor) |
1 rows affected
Msg 2627 Level 14 State 1 Line 1
Violation of UNIQUE KEY constraint 'UQ__SomeTabl__463BA3014345A394'. Cannot insert duplicate key in object 'dbo.SomeTable'. The duplicate key value is (ABC).
Msg 3621 Level 0 State 0 Line 1
The statement has been terminated.