Decode SQL Server Job Schedules
As once a data architect, I cannot help but admiring and appreciating the data model behind the sql server job...
2014-04-07
1,577 reads
As once a data architect, I cannot help but admiring and appreciating the data model behind the sql server job...
2014-04-07
1,577 reads
What is a SQL Server Filtered Index
A SQL Server Filtered index is a nonclustered indexes that can be used to...
2014-04-05
1,355 reads
Neue “Erweiterte Ereignisse” (XEvents) für Tracing in SQL Server 2014
(de)
Dieser Artikel enthält eine Liste der neuen Erweiterte Ereignisse (“Extended Events”),...
2014-04-04
3,065 reads
I writing this blog post as a result of the following two questions, which I’ve been asked by one of...
2014-04-04
2,205 reads
In deference to my British employers, I’ll use their word.
It constantly strikes me how rude, stupid, and unfriendly people can...
2014-04-04
986 reads
I don’t know anyone at Spotify, nor have I worked there. However when I see descriptions and explanations like this...
2014-04-04
696 reads
Today I noticed couple of changes(Neat changes !) for Data Collector in SQLServer 2014. This post is a detailed walk-through of setting...
2014-04-08 (first published: 2014-04-04)
3,795 reads
After a bit of an enforced sabbatical from blogging (short but boring story), I was interested to see how my...
2014-04-04
678 reads
My largest client recently purchased BMC Control-M to use as our enterprise scheduler. Since this product went live in our...
2014-04-14 (first published: 2014-04-04)
4,010 reads
One of the most common wait types you will see on a SQL Server is the CXPACKET wait type.
This wait...
2014-04-04
536 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