2007-08-06
1,706 reads
2007-08-06
1,706 reads
Building on his first article examining management of a large server farm, Mark Tierney brings us part 2 in which he examines the data gathering process.
2007-08-06
2,824 reads
Greg Larsen examines setting up SQL Server to listen on a different port number than 1433.
2007-08-03
3,002 reads
2007-08-02
1,712 reads
2007-08-01
1,673 reads
Most SQL Server DBAs will never need to read the registry for their instances, however in case you do find yourself needing to read or write something in SQL Server 2005, Vince Iacoboni brings us a technique for performing both of these actions.
2007-07-31
8,911 reads
2007-07-25
2,052 reads
2007-07-17
1,791 reads
2007-07-16
1,504 reads
2007-07-12
1,813 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