Please open this page in the Admin panel only
I am taking a slight deviation from the usual type of posts that I share. This time, I just want...
2014-07-30
1,404 reads
I am taking a slight deviation from the usual type of posts that I share. This time, I just want...
2014-07-30
1,404 reads
So the title says it all, right? Well, only really partially. Recently an article was published listing the top 10 most recommended books for SQL Server. That’s the part...
2014-07-29
11 reads
So the title says it all, right? Well, only really partially.
Recently an article was published listing the top 10 most...
2014-07-29
1,158 reads
Every now and again I find myself working with SSIS for one reason or another. Every now and again I...
2014-07-25 (first published: 2014-07-17)
32,424 reads
Every now and again I find myself working with SSIS for one reason or another. Every now and again I find myself fighting with SSIS because it provides less...
2014-07-17
53 reads
I am about to set sail on a new venture with my next official whistle stop. This year has been plenty full of whistle stops and I plan on...
2014-07-14
8 reads
I am about to set sail on a new venture with my next official whistle stop. This year has been...
2014-07-14
782 reads
Every SQL Saturday leaves a mark of some sort. This time around, the folks in Sacramento have really helped leave a BIG mark. That’s right, this last weekend was...
2014-07-14
8 reads
Every SQL Saturday leaves a mark of some sort. This time around, the folks in Sacramento have really helped leave...
2014-07-14
736 reads
The calendar tells us that once again we have reached the second tuesday of the month. In the SQL Community, this means a little party as many of you...
2014-07-08
18 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