Bypassing a Trigger - SQL School Video
Triggers are supposed to fire for every update, but in this video we see how you can bypass a trigger for an update.
2008-12-16
4,423 reads
Triggers are supposed to fire for every update, but in this video we see how you can bypass a trigger for an update.
2008-12-16
4,423 reads
I've been catching up on reading over the last month and I feel like taking a break from things technical/community/etc...
2008-12-15
663 reads
I'm just finishing up Boards At Work which talks about how a good board of directors can make a big...
2008-12-15
579 reads
Just as I did last year I'm posting my evaluation scores for review. I co-presented with Steve Jones a session...
2008-12-15
817 reads
Ah, if you're reading this aren't you the curious one! I ran across the link below a while back and...
2008-12-11
651 reads
One of the things I'm not fond of is self-deprecation. Smacking yourself on the forehead when you screw up a...
2008-12-10
535 reads
It's fun to just sit and talk with people, never know what you'll learn or be forced to rethink based...
2008-12-09
739 reads
Managing by the numbers often gets a bad name among employees because it can lead to a lot of gaming...
2008-12-08
662 reads
I attended the Tampa Code Camp this past weekend. It was located at the Kforce Building in Tampa, a very...
2008-12-08
1,110 reads
I have a long held belief that if you really care about results, you have to measure them somehow. The...
2008-12-07
321 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