2008-02-18
31 reads
2008-02-18
31 reads
2008-02-17
42 reads
There are many ways to accomplish a task in SQL Server, and almost every technology. But too much choice might not be the best thing for beginners.
2008-02-12
48 reads
Using the Identity Property might be one of the more debated features of SQL Server.
2008-02-09
42 reads
Windows 2008 RTMs, a change from the SQL Server support team, and a Jump Start for Katmai.
2008-02-09
38 reads
Steve Jones asks about the disclosure of source code in legal proceedings.
2008-02-07
44 reads
Corporate management often asks for feedback and buy-in with their ideas and programs. Why don't they get it?
2008-02-05
44 reads
Employee compensation is more than just salary. Steve Jones talks about how you might look at building more effective compensation plans for workers.
2008-02-04
40 reads
Less CIOs are reporting to CEOs this past year. Is that a problem? Steve Jones offers some comments.
2008-02-03
37 reads
2008-01-31
46 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...
Nitazoxanide 500 mg Buy Online is a search term used by people looking for...
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