Cumulative Update – 15 for SQL Server 2012 Service Pack 1 Is Now Available !
The 15th cumulative update release for SQL Server 2012 Service Pack 1 is now available for download at the Microsoft...
2015-04-27
660 reads
The 15th cumulative update release for SQL Server 2012 Service Pack 1 is now available for download at the Microsoft...
2015-04-27
660 reads
The 7th cumulative update release for SQL Server 2014 RTM is now available for download at the Microsoft Support site....
2015-04-27
1,797 reads
In Windows 2003 failover clustering, Cluster nodes continuously putting details in log file on each node. This log is in readable plain text format & located in %SystemRoot%Cluster folder...
2015-04-24
20 reads
In Windows 2003 failover clustering, Cluster nodes continuously putting details in log file on each node. This log is in...
2015-04-24
4,809 reads
Steps to restore SQL Server Master Database :- 1) Stop SQL Server Services 2) Add [-m] startup parameter in SQL Services from configuration manager Parameter [-m] Starts SQL Server...
2015-04-13
23 reads
Steps to restore SQL Server Master Database :-
1) Stop SQL Server Services
2) Add [-m] startup parameter in SQL Services from...
2015-04-23 (first published: 2015-04-13)
6,526 reads
The Resource database is a read-only database that contains all the system objects. This DB included with SQL Server 2005 to increase security of system metadata. SQL Server system...
2015-04-08
23 reads
The Resource database is a read-only database that contains all the system objects. This DB included with SQL Server 2005...
2015-04-08
1,788 reads
I suggest to have regular full backup of your system database along with user database. But if you do not have system database & your MSDB got corrupted then...
2015-02-02
17 reads
I suggest to have regular full backup of your system database along with user database. But if you do not...
2015-02-02
10,584 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 Risk Vs Reward, The never...
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