Heroes Happen Here Charlotte, NC Launch Tomorrow (April 8, 2008)
The Heroes Happen Here launch event for Charlotte, NC is tomorrow. It looks like there are still registration slots open:
Heroes...
2008-04-07
1,013 reads
The Heroes Happen Here launch event for Charlotte, NC is tomorrow. It looks like there are still registration slots open:
Heroes...
2008-04-07
1,013 reads
Absolutely worth watching.
http://blogs.sun.com/jonathan/entry/the_video
2008-04-07
523 reads
Red Gate's schema comparison tool, SQL Compare, is in beta for the newest version, SQL Compare 7. You can find...
2008-04-07
1,214 reads
I suspect few would argue that database mail in SQL 2005 is a huge improvement over the mail system in...
2008-04-07
310 reads
In SQL 2000 when you run sp_updatestats it's the equivalent of running UPDATE STATISTICS on each table, forcing the update...
2008-04-06
427 reads
The SQLSaturday in Jacksonville, Florida, will be held May 3, 2008. I'm on track now to give two security based...
2008-04-05
540 reads
I logged into Safari today to download some chapters I want to be able to review when I'm offline. I...
2008-04-05
1,274 reads
MVP Andy Leonard has written a nice post about how the dynamics changed on a project team. Most of it...
2008-04-04
617 reads
Going through the Microsoft KnowledgeBase updates, I saw this one:
An SPN for the SQL Server Browser service is required when...
2008-04-04
2,506 reads
I'm still working on getting all of my tools and apps onto my new laptop, which is running Vista Ultimate....
2008-04-04
2,546 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