The Little Things
This year I've been lucky enough to have been offered some prizes or promotions from a few different companies for...
2008-05-15
1,213 reads
This year I've been lucky enough to have been offered some prizes or promotions from a few different companies for...
2008-05-15
1,213 reads
Recently I signed up for the FlyClear program (www.flyclear.com), a registered traveler program. Over the past year I've been travelling...
2008-05-15
727 reads
I've grown to like the presenter view in Powerpoint 2007; let's me navigate easily, and more important, lets me easily...
2008-05-13
465 reads
Some very interesting responses to my CLR editorial today including some good details that I haven't seen elsewhere. I'm still...
2008-05-13
916 reads
I get busy and usually forget to post when I'm out and about, but for once I've remembered. I'll be...
2008-05-11
465 reads
I wrote these questions thinking about what some basic t-sql statements that I would want to see if I were...
2008-05-10
3,825 reads
I saw that Erland Sommerskag posted a Connect item that asked for a "View Variable" to be added to the...
2008-05-09
1,266 reads
Our most recent SQLSaturday went well, but there is always room for improvement. Here are my notes from this event:
The...
2008-05-08
403 reads
The SSIS expression language is a powerful yet enigmatic entity. Once you get used to its syntax - which is part...
2008-05-08
4,897 reads
After the editorial on the Kindle, which got quite a few responses, I've continued to look around and research things....
2008-05-08
968 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...
Telp/Wa 628218200203 Jl. Cideng Timur No.11 F, RT.5/RW.4, Petojo Utara, Kecamatan Gambir, Kota Jakarta...
Telp/Wa 628218200233 Kem Tower, Jl. Landas Pacu Barat No.Kav 2 Blok B, RW.10, Gn....
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