Verifying Last Successful CheckDB with Powershell and SMO - sorta
A few years ago, I wrote a script that was published on SQLServerCentral.com about how to verify the last successful...
2012-02-03
1,726 reads
A few years ago, I wrote a script that was published on SQLServerCentral.com about how to verify the last successful...
2012-02-03
1,726 reads
2012-02-03
548 reads
At one of my customers, we had a very frustrating experience while trying to get PowerPivot for Excel (SQL Server...
2012-02-02
993 reads
2012-02-02
8 reads
2012-02-02
12 reads
2012-02-02
14 reads
2012-02-02
44 reads
SQL Saturday – San Diego – Sep 17 2011 Thanks you everyone for attending session, here is the presentation DAC….
2012-02-02
941 reads
It's been a little quite here at SQLBalls.com Dear Reader, but business is about to pick up. There are a...
2012-02-02
781 reads
I have been quiet over the past year trying to get acclimated to my new job and my new found work...
2012-02-03 (first published: 2012-02-02)
1,411 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...
Telp/Wa 628218200203 Jl. Cideng Timur No.11 F, RT.5/RW.4, Petojo Utara, Kecamatan Gambir, Kota Jakarta...
Telp/Wa 628218200233 Kem Tower, Jl. Landas Pacu Barat No.Kav 2 Blok B, RW.10, Gn....
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