2012-12-31
1,236 reads
2012-12-31
1,236 reads
2012-12-25
917 reads
The 1st cumulative update release for SQL Server 2012 Service Pack 1 is now available for download at the Microsoft...
2012-11-22
1,998 reads
The 8th cumulative update release for SQL Server 2008 Service Pack 3 is now available for download at the Microsoft...
2012-11-22
952 reads
Upgrading fulltext data from a SQL Server 2005 database to SQL Server 2012 is to restore a full database backup...
2012-11-19
2,624 reads
The Connect to SQL Server Management Studio presents a new Additional Connection Parameters Page. Use the Additional Connection Parameters page...
2012-11-16
17,263 reads
Become Microsoft Community Contributor.
I am very happy after receiving this affiliation from Microsoft last month.
My MCC badge is visible now...
2012-11-15
1,027 reads
Today, We try to check of SQL server when trying to take Compress & UnCcomprees Backups in one Media\File.
Query No. 1
BACKUP...
2012-11-14
2,510 reads
Wishing You a Very Happy Diwali…………….
KAHI TIMTIMAHAT HAIN DIYO KI, KAHI SHOR HAAN ATHISBAZI KA
CHAMAK HAAN DIL MAIN, UMEEDO KI...
2012-11-13
746 reads
Issue :
Today Evening, I was just about to leave the office and at same time I got a call from...
2012-11-12
2,637 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...
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