Before you submit that incident to Microsoft...
Check out this post:
Things to consider before submitting an incident to Microsoft
Getting the information together before you make that phone...
2006-07-20
2,357 reads
Check out this post:
Things to consider before submitting an incident to Microsoft
Getting the information together before you make that phone...
2006-07-20
2,357 reads
I'll be presenting at the DotNet Columbia SC User Group on August 8th.
My presentation is tentatively titled, "Something old, something...
2006-07-20
1,646 reads
There is a very interesting article about how MSDN 2 utilizes SQL
Server 2005 technologies, specifically Service Broker and CLR
integration. The...
2006-07-20
1,521 reads
I saw this on a Channel 9 forum thread:
Library of Free Data Models
There are quite a few starter data models...
2006-07-19
1,924 reads
I was catching up on my blog reading (unfortunately, in some cases I'm
a month behind) and came across a link...
2006-07-14
1,464 reads
There is are two new KB articles on how the file growth value can become abnormally large. You can find...
2006-07-13
1,627 reads
Found this link on one of the security mailing lists I peruse. You can find an archive of the original...
2006-07-11
1,406 reads
I took the 70-441 exam last week and passed, which is good since I'm
working on part of the exam prep...
2006-07-07
1,484 reads
Microsoft has published a new Knowledge Base article on the
requirements to receive support for what is known as remote mirroring.
Requirements...
2006-07-07
1,725 reads
I wrote a new article for SQL Server Central on SQL Server 2005 Logins. It covers the basics. This is...
2006-07-05
1,405 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