October 2011 LV UG Meeting Update
This is a republish due to a last minute change!!!
We had to reschedule the October meeting due to unforeseen circumstances....
2011-10-18
508 reads
This is a republish due to a last minute change!!!
We had to reschedule the October meeting due to unforeseen circumstances....
2011-10-18
508 reads
Microsoft has been busy getting SQL Server Cumulative Updates released over the past couple of days. The latest release is...
2011-10-18
716 reads
Last week was the PASS Summit in Seattle (again, but only for 1 more year) and I was up there...
2011-10-18
1,520 reads
Now the PASS has well passed, folks are setting their sites on our upcoming NYC SQLPeople event called SQLInspireNYC .
SQLPeople...
2011-10-18
943 reads
The majority of the time, the problems I see with Kerberos are due to a bad SPN (Service Principal Name)...
2011-10-18
4,076 reads
Instead of just right clicking on SSMS , these are some alternatives to locating SQL Server Collation information I use.
--To find...
2011-10-18
542 reads
One of the main goals with this blog is to write stuff when we learn / discover new things or smarter...
2011-10-18
1,490 reads
AdvertisementsAWE has removed from SQL server 2012
AWE has removed from SQL server Denali onwards. Say bye bye to 32 bit...
2011-10-18
1,051 reads
Microsoft has released SQL Server 2008 R2 RTM Cumulative Update 10. This is Build 10.50.1807.0, and it has 13 listed...
2011-10-18
839 reads
Microsoft has released SQL Server 2008 R2 SP1 Cumulative Update 3. This is Build 10.50.2789.0, and it has 22 listed...
2011-10-18
1,171 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