MDM (Master Data Management) Business Scenario
IntroductionMaster Data Management (MDM), the process of creating and maintaining master data. As per definition Master Data Management (MDM) is...
2011-10-13
1,212 reads
IntroductionMaster Data Management (MDM), the process of creating and maintaining master data. As per definition Master Data Management (MDM) is...
2011-10-13
1,212 reads
It is understandable that nations may undertake operations against other nations. This is believed to be the origin of StuxNet...
2011-10-13
946 reads
If you don't get the reference, it was a set of skits on the old Muppet Show and it starred...
2011-10-13
998 reads
7:50AM – arrived at bloggers table and positioned between Rooob Farley and Kevin Kline. Just meet SQLBalls, in front is Ryan...
2011-10-13
579 reads
By now, you should have already heard the big news. Red Gate Software is sending a DBA into space. When...
2011-10-13
865 reads
So recently I was doing a demonstration using the new SQL 2012 SSIS running in Visual Studio 2010. I needed...
2011-10-13
32,475 reads
When working at large organizations with several users, managing security using Windows or SQL authentication could be challenging. However, there...
2011-10-13
9,809 reads
After a info filled keynote, on to the rest of the day. I decided to attend the Bare Metal Instructor...
2011-10-13
480 reads
Today was our first day to attend regular sessions. With over 189 sessions being offered over 3 days there are...
2011-10-13
708 reads
One of the sayings that I’ve heard a few times from professional atheletics is this:
“Amateurs practice until they get it...
2011-10-12
812 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 Using CHOOSE()
Comments posted to this topic are about the item Re-Seeding a Broken Log Shipping...
Comments posted to this topic are about the item The DBA is Dead! Long...
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