SQL Saturday 97 has ended
Well it isn’t quite over for me just yet, I still have a flight home tomorrow and can’t wait to...
2011-10-02
479 reads
Well it isn’t quite over for me just yet, I still have a flight home tomorrow and can’t wait to...
2011-10-02
479 reads
This is the second in a series of posts on some SQL Server Analysis Services (SSAS) errors for which there...
2011-10-02
1,822 reads
Hello and welcome to my live blog/recap of SQL Saturday #97 in Austin! Wes Brown and the crew from CACTUSS...
2011-10-01
500 reads
Introduction
Many times while tuning our production databases we might try to find out the list of tables not having even...
2011-10-01
2,334 reads
When it comes to databases, many DBAs obsess over performance, and for good reason, as when user’s begain to complain...
2011-10-01
1,094 reads
For all of you, that you have missed any session from the last 24 HOPass - you can check here
24 Session...
2011-10-01
1,165 reads
I flew into Austin Texas today and got to spend time with a lot of great people. The journey started...
2011-10-01
529 reads
OMG! SQLSATURDAY #97 IS HERE!
I am really excited about SQLSaturday #97! In just a few short hours we will be...
2011-10-01
750 reads
Introduction
I am sure many times we all might have come across situations where we need to search/find a string value...
2011-09-30
6,354 reads
Many of you know recently the PASS board announced that elections will be coming up for three seats on the...
2011-09-30
2,617 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