PASS Summit: Things to Do, People to See
PASS Summit is nearly upon us. I’m excited to be attending my second Summit in Seattle and cannot wait to get there to see everyone. With one Summit and...
2014-10-30
17 reads
PASS Summit is nearly upon us. I’m excited to be attending my second Summit in Seattle and cannot wait to get there to see everyone. With one Summit and...
2014-10-30
17 reads
I was working on a demo recently and needed to show that a little monitoring can help you catch schema...
2014-10-29
1,132 reads
SQLSaturday Tampa is the first SQLSaturday in Florida for 2015, scheduled for February 28th, 2015. The event is held at...
2014-10-29
1,270 reads
I can hardly believe how fast this year has flown by. My favorite SQL Server conference of the year, the...
2014-10-29
1,049 reads
Well, it is that time of year again. The Professional Associations for SQL Server (PASS) annual summit. This year we...
2014-10-29
1,255 reads
I am proud to share that my good friend Andy Leonard has just released a new book. This is also...
2014-10-29
1,886 reads
2014-10-29
8 reads
Add Database File on Database invloved in DB Mirroring.
2014-10-29
18 reads
In early October my third book was published. I have been blessed to be able to work with Joes2Pros for my...
2014-10-29
1,879 reads
The log file tends to fascinate me. In fact one of my favorite posts is where I looked into the...
2014-10-29
1,823 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