SSMS Auto Recovery
By David Postlethwaite
At my presentation on SQL Server Management Studio at SQL Saturday in Exeter I promised to write...
2014-04-17
844 reads
By David Postlethwaite
At my presentation on SQL Server Management Studio at SQL Saturday in Exeter I promised to write...
2014-04-17
844 reads
SQL Server 2014 is deeply integrated with Windows Microsoft Azure and moving an On-prem database to a Microsoft Azure VM...
2014-04-24 (first published: 2014-04-16)
1,965 reads
2014-04-16
667 reads
At my Filestream/Filetable talk yesterday at SQL Intersection, someone asked me about programmatically adding a file to a Filetable. Easy...
2014-04-23 (first published: 2014-04-16)
3,643 reads
Kevin Kline is speaking at MagicPASS tonight – on two topics! If you’re in the Orlando area I hope you’ll try...
2014-04-16
536 reads
Microsoft just announced a new mechanism for managing your Azure resources, Automation. You can check out the documentation on it...
2014-04-24 (first published: 2014-04-16)
1,786 reads
As of right now, my United account has no flights booked. My Hilton Honors account has no hotel rooms reserved....
2014-04-16
627 reads
Recently Paul Randal had a brief rant on twitter where he complained about the fact that there are no stupid...
2014-04-16
412 reads
Recently Paul Randal had a brief rant on twitter where he complained about the fact that there are no stupid...
2014-04-16
604 reads
We can create a database simply by typing in the command createdatabase DB1
We don’t have to provide any other...
2014-04-25 (first published: 2014-04-16)
2,376 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