Virtual Reality (VR) Meet My #sqlfamily
Virtual Reality? And SQL Server?
“… and never the twain shall meet” bit.ly/1yhgLHS
Or should they?
The time has come for data professionals...
2015-01-22
1,178 reads
Virtual Reality? And SQL Server?
“… and never the twain shall meet” bit.ly/1yhgLHS
Or should they?
The time has come for data professionals...
2015-01-22
1,178 reads
I’m very excited to offer a new course entitled “Advanced SSIS” in the Dallas area this spring. My friend and...
2015-01-21
723 reads
Never really enjoyed reading through the statistics IO results, as it makes it hard to easily guage total impact when...
2015-01-28 (first published: 2015-01-21)
6,751 reads
The VMware Users Group VMUG just announced a partnership with VMware, called the EVALExperience, to offer VMware technology pre-production 365-day licenses...
2015-01-21
570 reads
Never really enjoyed reading through the statistics IO results, as it makes it hard to easily guage total impact when...
2015-01-21
213 reads
Have you ever seen a constraint with a name like PK__TableNam__EA185FBF8FF1529D? It’s kind of funny looking right? I mean it...
2015-01-21
1,947 reads
This Monday, at SQLSaturday Israel, I presented my new session, “The Data Loading Performance Presentation”.
I worked on the session a...
2015-01-21
564 reads
By Steve Bolton
…………The Tietjen-Moore test may have the coolest-soundest name of any of the outlier detection methods I’ll be surveying...
2015-01-20
1,293 reads
One of the important task of any DBA is to find out all the jobs which are failed yesterday. Below...
2015-01-20
2,474 reads
Sometimes we need to find out how many stored procedures contains a given text. Below SQL query can be used...
2015-01-20
679 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...
Comments posted to this topic are about the item Risk Vs Reward, The never...
Comments posted to this topic are about the item Using CHOOSE()
Comments posted to this topic are about the item Re-Seeding a Broken Log Shipping...
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