A Deeply Planted Seed-Question of the Day
Another trivia question today, this one about figuring out which of the options provided has a particular negative identity seed....
2014-07-01
304 reads
Another trivia question today, this one about figuring out which of the options provided has a particular negative identity seed....
2014-07-01
304 reads
2014-07-01
1,930 reads
The Product Centric Career is my latest editorial for SQLServerCentral, this one from the perspective of my own career and...
2014-06-30
1,156 reads
How did you fall in into your particular career? Was it because of a product? Andy Warren talks about his career evolution and how often we become trapped by the products we work with.
2014-06-30
162 reads
Been busy the past week, not as much time on this as I’d have liked:
Received the “retro” flyer with the...
2014-06-27
1,140 reads
What is 268435456? is the Friday question of the day. It’s a trivia question, but maybe an interesting one for...
2014-06-27
1,326 reads
2014-06-27
2,295 reads
Finally the email we’d all been waiting for arrived yesterday, the results of session selection for the 2014 PASS Summit....
2014-06-25
738 reads
The Great Escape is the question today, one I think you will like because…it’s about LIKE! It’s a head scratcher....
2014-06-25
563 reads
2014-06-25
2,018 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