SQLFun–After Hours and More at the PASS Summit
The annual PASS Summit is definitely about technology and learning, but if that’s all you get out of it you’re...
2011-10-06
909 reads
The annual PASS Summit is definitely about technology and learning, but if that’s all you get out of it you’re...
2011-10-06
909 reads
Day Of Days
I just don’t know what to say, Saturday was just plain awesome. Easily one of the best days...
2011-10-05
819 reads
I decided to start monitoring the amount of free space in my database files so that I can make sure...
2011-10-05
1,605 reads
After last year's PASS Summit I put my money where my mouth was and said I will do something this...
2011-10-05
1,252 reads
If you are the decision maker in your company and you are tasked with purchasing one or more servers to...
2011-10-05
1,314 reads
As an old timer at the Sumit I have gone through several iterations of what I carry in my bag.
Luggage
I...
2011-10-05
741 reads
I’m working on updating my book, Query Performance Tuning Distilled, so that it reflects the new things available in SQL...
2011-10-05
1,823 reads
I’m running through my mental (and some written) pre-travel checklist, tickets, clothes, a few odds and ends, trying to be...
2011-10-05
635 reads
Feedback from the second leg of SQLRelay was very positive indeed. The attendees from my Maidenhead group were very impressed...
2011-10-05
680 reads
I saw this post about Leonard Nimoy doing his final convention appearance this week. He’s 80, I would guess doesn’t...
2011-10-05
562 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