MatrixDB
A new feature for SQL Server? Steve Jones talks about a very interesting job posting from Microsoft.
2008-05-21
33 reads
A new feature for SQL Server? Steve Jones talks about a very interesting job posting from Microsoft.
2008-05-21
33 reads
2008-05-20
32 reads
Do the people that build SQL Server really work with it? Steve Jones shares a short story from a recent trip to the Pacific Northwest.
2008-05-19
37 reads
How can you find good employees? Steve Jones offers a few tips on what has worked for him in the past.
2008-05-18
33 reads
Steve Jones looks at the performance of column changes, petaflop computing, and a few ways to beef up your DBA skills.
2008-05-17
41 reads
Steve Jones talks about two competing priorities for many people that start at a new job and asks which one you value more in this Friday poll.
2008-05-15
32 reads
2008-05-14
34 reads
Encrypting data is the easy part of dealing with encryption and databases. Steve Jones talks about some of the other, more difficult, issues you must handle.
2008-05-13
39 reads
The CLR was one of the highly touted additions to SQL Server 2005, and one of the reasons for its long development cycle. Steve Jones comments on why it hasn't been that widely used.
2008-05-12
30 reads
Steve Jones asks for some opinions on how to approach the new timeframe of software releases.
2008-05-11
31 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