SQLSaturday #9 in Greenville, SC on Oct 11, 2008
Paul Waters and team from the SQL Server Innovators Guild have decided to host a SQLSaturday at ECPI Greenville, SC...
2008-08-18
466 reads
Paul Waters and team from the SQL Server Innovators Guild have decided to host a SQLSaturday at ECPI Greenville, SC...
2008-08-18
466 reads
Part of running a businness is deciding when and where to spend your hard earned cash. It's interesting to look...
2008-08-14
537 reads
Recently I needed to make a call and the only number I had was a mnemonic one. I get why...
2008-08-13
1,908 reads
SQL Server trainer and expert DBA, Andy Warren, thinks that everyone should have a philosophy about security. He starts this installment in looking about how to assign administrative privileges.
2008-08-12
4,585 reads
With all the options we have for viewing query plans I still prefer the graphical view. Combined with tooltips and...
2008-08-12
528 reads
My friend Jonas Stawski just sent me a note about the upcoming Code Camp in Argentina on October 24, 2008....
2008-08-11
608 reads
I've just posted minutes of the August 2008 user group meeting. We had two great presentations, a short one from...
2008-08-10
696 reads
I think most people fall into two groups, the ones that change jobs every year/every time they can make another...
2008-08-07
576 reads
More and more I see business people adopt the mindset that any negotiation is raw combat with the goal of...
2008-08-05
615 reads
One of the common questions new SQL Server workers ask is how they can move or alter tempdb. Andy Warren takes a look at the tricks involved with this special system database.
2008-08-04
6,404 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