A Critical SQL Server 2014 Cumulative Update
If you are running SQL Server 2014, please read the following:
Memory leak occurs when you run DBCC CHECKDB against a...
2015-02-20
272 reads
If you are running SQL Server 2014, please read the following:
Memory leak occurs when you run DBCC CHECKDB against a...
2015-02-20
272 reads
If you are running SQL Server 2014, please read the following:
Memory leak occurs when you run DBCC CHECKDB against a...
2015-02-20
766 reads
It’s Friday, time to look back at the most popular RealSQLGuy posts of the week. Because it’s Friday and you’re...
2015-02-20
445 reads
At a recent Brighton Alt.Net the question came up “What learning resources do people use to continuously learn?”, as a...
2015-02-20
63 reads
SQL Saturday NYC Planning is in going well and we are now getting ready to finalize our precons as 2...
2015-02-20
257 reads
In the second part of this series on getting more agile and bringing our Sql Server development practices up to...
2015-02-19
449 reads
In the second part of this series on getting more agile and bringing our Sql Server development practices up to date I am going to talk about why you...
2015-02-19
7 reads
In the second part of this series on getting more agile and bringing our Sql Server development practices up to...
2015-02-19
45 reads
In the second part of this series on getting more agile and bringing our Sql Server development practices up to...
2015-02-19
52 reads
Next week, on Saturday 28, make sure you don’t miss SQLSaturday Pordenone!
Pordenone is the place where the Italian adventure with SQLSaturday...
2015-02-19
649 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 Using CHOOSE()
Comments posted to this topic are about the item Re-Seeding a Broken Log Shipping...
Comments posted to this topic are about the item The DBA is Dead! Long...
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