Collation: Confusion
I started reading about collations after I had a recent run in with them. As I read I started to...
2014-04-23
546 reads
I started reading about collations after I had a recent run in with them. As I read I started to...
2014-04-23
546 reads
I started reading about collations after I had a recent run in with them. As I read I started to...
2014-05-02 (first published: 2014-04-23)
2,399 reads
Practical Data Migration Strategies
As organizations mature their IT infrastructure must change to keep up with new applications and technologies. Many...
2014-04-23
1,333 reads
By David Postlethwaite
At my presentation on SQL Server Management Studio at SQL Saturday in Exeter I promised to write some...
2014-04-23
1,085 reads
I am excited about being selected to speak and attend the May 3rd SQLSaturday BA Edition in Dallas, TX. There...
2014-04-23
758 reads
This is a followup to a previous post where I likened SQL Server float datatype to Muhammad Ali. Specifically, I...
2014-05-01 (first published: 2014-04-23)
2,966 reads
I’ve worked with partitioning for quite some time now, and though it has been around for quite some time and lots has been written about the concept I recently...
2014-04-23
19 reads
Have you seen the schedule for SQL Saturday #285 – Atlanta? Holy cow they have jam packed too many hard decisions...
2014-04-22
596 reads
I’ve fallen down on my challenge over the last month. It’s been a content time, with me working more towards...
2014-04-22
753 reads
2014 is the latest edition of SQL Server available[/caption]
SQL Server 2014 was officially released in April 1st, 2014. You can...
2014-04-22
55,570 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 628217555651 Gedung Plaza Bank Index Ground, Jl. M.H. Thamrin No.57 Floor Suite GF-21,...
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