Seattle SQL Pro Workshop 2017
Seattle SQL Pro Workshop 2017
October is a great time of year for the SQL Server and Data professional. There are...
2017-10-25 (first published: 2017-10-19)
1,131 reads
Seattle SQL Pro Workshop 2017
October is a great time of year for the SQL Server and Data professional. There are...
2017-10-25 (first published: 2017-10-19)
1,131 reads
Free workshop on SQL Server leading up to Summit 2017 that will provide attendees an alternate means to increase affordable learning opportunities during the week.
Related Posts:
Seattle SQL Pro Workshop...
2017-10-19
5 reads
A linked server is a fabulous feature in SQL Server to help accomplish various data tasks between local and remote servers. There is a time and a place for...
2017-10-17
250 reads
Linked Servers
A linked server is a fabulous feature in SQL Server to help accomplish various data tasks between local and...
2017-10-17
1,510 reads
This topic is one that has been stewing for a while and finally this week it decided to boil over.
My...
2017-10-13
480 reads
Building your brand is not an overnight sensation. It does take a while and possibly a bit of luck here or there along the way. The one thing it...
2017-10-13
7 reads
Reporting Services
Reporting Services (SSRS) is a tool that permits you to create and deliver feature rich reports. The reports can...
2017-06-06 (first published: 2017-05-23)
4,193 reads
Remember When…
Back in late December of 2015, a challenge of sorts was issued by Tim Ford (twitter) to write a...
2017-06-05
1,629 reads
"What the heck is an endpoint?" Well, that is a good question. An endpoint in the simplest form is a connection or point of entry into SQL server.
Related Posts:
Changing...
2017-06-05
45 reads
Reporting Services
Reporting Services is a pretty feature rich tool for delivering reports to various consumers. There is plenty of power...
2017-06-02 (first published: 2017-05-22)
6,850 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