New Course: Building Better SSIS Packages–Denver and Boston
Earlier this week, I confirmed two full-day seminars I’ll be delivering in conjunction with SQL Saturday events this fall. I’ve...
2015-06-05
697 reads
Earlier this week, I confirmed two full-day seminars I’ll be delivering in conjunction with SQL Saturday events this fall. I’ve...
2015-06-05
697 reads
Reading Time: 5 minutesDo You Have a Personal Trainer? In WOxPod!, episode # 006 –...
The post 006 – Personal Trainer appeared first...
2015-06-05
501 reads
I’m expecting Should Salary Information Be Confidential? to draw a wide range of comments. I’m curious to see if many will be...
2015-06-05
362 reads
DBAs most often face scenarios where they need to capture graphical execution plan of a query currently running on a live production instance because...
2015-06-05
1,113 reads
Recently I came across a situation where queries are loading extremely slow from a table. After careful analysis we found...
2015-06-04
712 reads
Not those Benjamin’s
Benjamin Franklin once said, “A place for everything and everything in it’s place“. While I assume that he...
2015-06-10 (first published: 2015-06-04)
3,169 reads
I have been selected again to speak in Houston (Saturday, June 13th) for a SQLSaturday event and look forward to...
2015-06-04
538 reads
Hi friends, in last previous blogs we created database mail profile and database mail account. In this blog we will...
2015-06-04
498 reads
I’m writing this post as a way to help motivate the #SQLNewBloggers out there. Read the bottom for a few...
2015-06-11 (first published: 2015-06-03)
3,311 reads
Microsoft Azure Stream Analytics (ASA) is a fully managed cloud service for real-time processing of streaming data. ASA makes it easy...
2015-06-03
1,096 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