Quick Security Mistakes
Steve reminds you to be careful of taking shortcuts, as these can compromise security. Automation and DevOps might help you avoid mistakes.
2020-01-06
295 reads
Steve reminds you to be careful of taking shortcuts, as these can compromise security. Automation and DevOps might help you avoid mistakes.
2020-01-06
295 reads
2019-12-30
619 reads
2019-12-23
743 reads
Today Steve looks at a research project from Microsoft that provides some better protection from firmware security issues.
2019-12-17
181 reads
Learn how you can query information in the logical server's master database from an Azure SQL Database.
2019-12-12
6,055 reads
The Microsoft Threat Intelligence Center actively works to track the world's hackers and help warn us when we become the object of their attacks.
2019-12-09
172 reads
2019-12-06
779 reads
2019-11-29
635 reads
The Azure Sphere project is a great piece of research at Microsoft that might help us data professionals with security.
2019-11-25
239 reads
Losing the security game is no fun when data is involved. Steve points out some things you should be doing.
2019-10-21
269 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