A Questionable Trigger–Question Of the Day
A Questionable Trigger is the SQLServerCentral Question of the Day today. It’s my latest and perhaps the hardest. Here is...
2014-04-02
468 reads
A Questionable Trigger is the SQLServerCentral Question of the Day today. It’s my latest and perhaps the hardest. Here is...
2014-04-02
468 reads
Ausgezeichnet mit dem MVP-Award für SQL Server
(de)
Gestern, am 1. April 2014 erhielt ich die frohe Botschaft: Für meine Beiträge zur...
2014-04-02
3,488 reads
Hot cake for the day is SQLServer 2014 RTM bits. Its generally available starting today, and I downloaded a fresh...
2014-04-01
19,253 reads
If you are working with .Net then you will be aware about PDB files.A PDB file is a Program Database,that is...
2014-04-01
733 reads
A few notes from our trip to Madison for SQL Saturday. We arrived two days early and acted like tourist...
2014-04-01
775 reads
As has been well publicized, today is the official Release To Manufacturing date for SQL Server 2014. You can read more about all of that here. Something that hasn’t...
2014-04-01
9 reads
As has been well publicized, today is the official Release To Manufacturing date for SQL Server 2014. You can read...
2014-04-01
932 reads
It’s a little over a week until this year’s SQL Saturday festivities kick off in Lisbon, Portugal, and I’m very...
2014-04-01
720 reads
Many people have published SQL Server installation checklists before. Here is one I have been using for several installations without...
2014-04-01
20,835 reads
When I first heard this, it struck me as being a remarkably concise wisdom applicable to virtually any programming task....
2014-04-01
1,199 reads
By Steve Jones
This is timely, as I’m currently on a boat in the Adriatic taking a...
You can find the slides and SQL scripts for my session “Spice up your...
By SQLPals
How to Clear the SSMS Cache (SSMS 21 and Later) Updated...
Telp/Wa 628218200203 Gedung Sutrado, Jl. Kenari 2 No.5 Lt. 1, RT.2/RW.3, Kenari, Kec. Senen,...
Telp/Wa 628218200203 Jl. Biak No.44 AB, RT.8/RW.11, Cideng, Kecamatan Gambir, Kota Jakarta Pusat, Daerah...
Telp/Wa 628217555651 Gedung Plaza Bank Index Ground, Jl. M.H. Thamrin No.57 Floor Suite GF-21,...
We have this code that sets some status values and then queries them using the CHOOSE() function in SQL Server 2025.
CREATE TABLE Status
(
StatusID INT,
StatusDescription VARCHAR(20)
);
GO
INSERT dbo.Status
(
StatusID,
StatusDescription
)
VALUES
(0, 'Uncategorized'),
(1, 'Active'),
(2, 'Inactive'),
(3, 'Temp');
GO
SELECT CHOOSE(StatusID, 'Unknown', 'Active', 'Inactive', 'Temporary')
FROM Status;
When the SELECT runs, what is returned? See possible answers