2014-05-26
1,729 reads
2014-05-26
1,729 reads
Just received the first flyer design – thoughts?
2014-05-24
549 reads
Meetup.com did refund my $19, good!
Team oPASS added SQLSaturday #318 to their calendar, you can see it here, or here’s...
2014-05-24
557 reads
My experiment with Meetup.com hasn’t worked out well so far. I set up the event site and sent it around...
2014-05-23
537 reads
Here’s a SQL error you might get:
not able to access the database “SomeDB” under the current security context.
If you don’t...
2014-05-23
526 reads
Over the past few months there have been a handful of times when I had to fix a security problem...
2014-05-22
838 reads
One of the things I’m trying to do now is include a link to a blog(ger) in the explanation. That...
2014-05-22
492 reads
I’ve heard more than once that Meetup.com is a good way to reach new people so we’re looking at how...
2014-05-21
701 reads
I just finished up the short and not very painful application to be a candidate for the NomCom this year. ...
2014-05-21
498 reads
I’ll be presenting SQL Performance for Developers to the members of ONETUG on July 10, 2014. I’m going to hit...
2014-05-20
415 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