Moving SQL Server data between filegroups – Part 1 – Database Structures
Why is moving data between filegroups hard?
As a consultant its common to walk into a customer site and find databases...
2015-04-09
821 reads
Why is moving data between filegroups hard?
As a consultant its common to walk into a customer site and find databases...
2015-04-09
821 reads
The Microsoft
MVP community is very excited to announce it’s very first 2015 Microsoft MVP
Virtual Conference (Microsoft V-Conf) coming to directly...
2015-04-27 (first published: 2015-04-09)
5,785 reads
On May 11th I will deliver a precon about SQL Server 2014 Performance Improvements at the SQLDay Poland conference in...
2015-04-09
986 reads
Today I presented a new session on the various paths to becoming a consultant to the PASSProfessional Development Virtual Chapter....
2015-04-09
577 reads
Watching all of the tweets as people posted their first entries in the SQL New Blogger Challenge earlier this week, I quickly realized that keeping up was going to...
2015-04-09
22 reads
Back in 2013 I wrote an article kindly accepted for publication on the Simple Talk web site called Calculating the...
2015-04-08
895 reads
Ok so you have created an SSDT project and are currently congratulating yourself on how awesome and cool you are...
2015-04-08
608 reads
Ok so you have created an SSDT project and are currently congratulating yourself on how awesome and cool you are...
2015-04-08
36 reads
Ok so you have created an SSDT project and are currently congratulating yourself on how awesome and cool you are...
2015-04-08
41 reads
Ok so you have created an SSDT project and are currently congratulating yourself on how awesome and cool you are but then you realise that your project is like...
2015-04-08
18 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