add batch remove batch split batch comment selection show hidden batches hide batch highlight batch
db<>fiddle
donate feedback about
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
(No column name)
Microsoft SQL Server 2022 (RTM) - 16.0.1000.6 (X64)
Oct 8 2022 05:58:25
Copyright (C) 2022 Microsoft Corporation
Express Edition (64-bit) on Windows Server 2019 Standard 10.0 <X64> (Build 17763: ) (Hypervisor)
2 rows affected
Key Value
Name1 Jane
Status neu
Kundennummer 9121
Nummer 857685
Name1 John
Status neu
Kundennummer 9122
Nummer 857686
Msg 8167 Level 16 State 1 Line 7
The type of column "Kundennummer" conflicts with the type of other columns specified in the UNPIVOT list.
Key Value
Name1 Jane
Status neu
Kundennummer 9121
Nummer 857685
Name1 John
Status neu
Kundennummer 9122
Nummer 857686
ID Key Value
9121 Name1 Jane
9121 Status neu
9121 Kundennummer 9121
9121 Nummer 857685
9122 Name1 John
9122 Status neu
9122 Kundennummer 9122
9122 Nummer 857686