Building The SQLSaturday Orlando Marketing Plan-Part 20
Next week will begin our weekly planning call, so ahead of that (and perhaps a bit later than I should...
2014-06-19
573 reads
Next week will begin our weekly planning call, so ahead of that (and perhaps a bit later than I should...
2014-06-19
573 reads
All PASS Business Analytics Conference 2014 recordings are now available. If you purchased the online sessions, to view, log on to your myPASS...
2014-06-19
883 reads
As I mentioned in my original post, Exploring Excel 2013 as Microsoft’s BI Client, I will be posting tips regularly...
2014-06-19
1,181 reads
One of the first questions I got while interviewing for a potential position as a DBA was “If there is...
2014-06-25 (first published: 2014-06-19)
6,678 reads
Below is the chart Kendal Van Dyke maintains for us in Orlando showing year over year registration counts. Don’t I...
2014-06-19
506 reads
I’m very exciting to announce that we will have next SQL Saturday event in Albania, Tirana, which is going to...
2014-06-19
876 reads
Have you ever created a Hyper-V virtual machine and later needed to change the size of the disk on the...
2014-06-26 (first published: 2014-06-19)
3,249 reads
SQL Server has some handy features: one of those features is dbmail, which I tend to use less until I’ve...
2014-06-19
876 reads
As I mentioned in my original post, Exploring Excel 2013 as Microsoft’s BI Client, I will be posting tips regularly...
2014-06-23 (first published: 2014-06-18)
4,304 reads
Let’s face it, none of Information Technology is easy. Oh yeah, there are those few geniuses that have an absolute...
2014-06-23 (first published: 2014-06-18)
5,178 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