SSC Editorial: Titles Matter
Few things have more impact on our career than job titles. The job titles we’ve held tell future employers a...
2014-08-08
510 reads
Few things have more impact on our career than job titles. The job titles we’ve held tell future employers a...
2014-08-08
510 reads
2014-08-08
284 reads
One of the better graphics I’ve seen in a Connector that shows the timeline:
My thoughts:
Should You Run for the...
2014-08-06
747 reads
No viewed on LinkedIn yesterday. Increased the bid to $5 and now seeing views. Not sure it correlates, but probably....
2014-08-05
749 reads
First, a quick update on the LinkedIn advetising campaign. One click so far, no registrations. More views than I expected...
2014-08-04
610 reads
A recent Connector showed the following stats for SQLSaturday for the fiscal year ending June 30, 2014 and mentioned 86...
2014-08-04 (first published: 2014-07-28)
7,631 reads
Received an email from LinkedIn that the ad was approved and so far we’ve spent a whopping 83 cents! Not...
2014-08-03
412 reads
Today at lunch I looked at LinkedIn advertising. I only capture the last part to share here, but you put...
2014-08-01
583 reads
How do you get the boss to pay for training? In my experience you have to:
Ask. The boss isn’t sitting...
2014-07-31 (first published: 2014-07-24)
8,393 reads
Notes:
Email with the schedule went out this week, nice bump in registrations – we’re at 229 todayMailed the list twice (bad)...
2014-07-30
1,062 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