Join The SQL Crazy Train
One of the best lines I heard in the past few weeks was “That train has sailed.” Combine that with a crazy schedule and we now have a SQL...
2013-09-13
9 reads
One of the best lines I heard in the past few weeks was “That train has sailed.” Combine that with a crazy schedule and we now have a SQL...
2013-09-13
9 reads
One of the best lines I heard in the past few weeks was “That train has sailed.” Combine that with...
2013-09-13
902 reads
Good news everybody. October 1st is no longer the day that the MCM was prescribed to die. The Microsoft Certified Master is now on life support until December 31st,...
2013-09-11
8 reads
Good news everybody. October 1st is no longer the day that the MCM was prescribed to die. The Microsoft Certified...
2013-09-11
715 reads
Are you ready for some SQL? If you are like me, you are probably almost always ready for some SQL. Well, we have just what you are hungry...
2013-09-10
11 reads
Are you ready for some SQL?
If you are like me, you are probably almost always ready for some SQL. Well,...
2013-09-10
687 reads
My deadline is fast approaching. It seems these days that editors have no patience. On top of that there is this ever-shrinking deadline problem and the constantly shrinking lead-time...
2013-09-10
15 reads
My deadline is fast approaching. It seems these days that editors have no patience. On top of that there is...
2013-09-10
836 reads
Fast approaching (yeah just a couple of days out now), is SQLSaturday 246. This year t he event is sort of in Salt Lake City, being another 10-15 minutes...
2013-09-05
8 reads
Fast approaching (yeah just a couple of days out now), is SQLSaturday 246. This year t
he event is sort of...
2013-09-05
723 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