How does data file size relate to log file size?–#SQLNewBlogger
Another post for me that is simple and hopefully serves as an example for people trying to get blogging as...
2018-10-15
212 reads
Another post for me that is simple and hopefully serves as an example for people trying to get blogging as...
2018-10-15
212 reads
Transparent data encryption (TDE) helps you to secure your data at rest, this means the data files and related backups...
2018-10-15
262 reads
In [Contravariant]
The image is self-explanatory.
Out [Covarient]
The image is self-explanatory.
2018-10-15
242 reads
(2018-Oct-15) Working with Azure Data Factory you always tend to compare its functionality with well established ETL packages in SSIS. Data...
2018-10-23 (first published: 2018-10-15)
13,949 reads
Hi guys! Not too much this week as I was very busy on #DataRelay tour across UK whole week (relation...
2018-10-14
62 reads
Here’s a run down of the Linux training that I have available on Pluralsight!
Just getting started! Understanding and Using Essential Tools for Enterprise Linux 7 – If you heard...
2018-10-13
8 reads
Here’s a run down of the Linux training that I have available on Pluralsight!
Just getting started!
Understanding and Using Essential Tools...
2018-10-13
414 reads
In this blog post we’re going to revisit how SQL Server on Linux responds to external memory pressure. This is a very long post, and it ends with me...
2018-10-13
13 reads
In this blog post we’re going to revisit how SQL Server on Linux responds to external memory pressure. This is...
2018-10-23 (first published: 2018-10-13)
1,695 reads
In this blog post, I’ll show you how to install Minikube on CentOS. Minikube is a platform you can use to test kubernetes clusters on your local machine or...
2018-10-13
24 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