September 21, 2020 at 12:00 am
Comments posted to this topic are about the item How Many Rows Remain?
September 21, 2020 at 1:13 pm
Nice reminder
Thanks Steve
---------------------------------------------------------------------------------------
The more you know, the more you know that you dont know
September 21, 2020 at 2:54 pm
Thanks, glad you liked it
September 21, 2020 at 6:54 pm
Thanks for the added documentation on this!
It's important to note, this behavior is similar with normal variables as well.
DECLARE @Amount int = 0;
BEGIN TRANSACTION;
SET @Amount = 100;
ROLLBACK TRANSACTION;
SELECT @Amount;
September 21, 2020 at 8:25 pm
Thanks for the added documentation on this!
It's important to note, this behavior is similar with normal variables as well.
DECLARE @Amount int = 0;
BEGIN TRANSACTION;
SET @Amount = 100;
ROLLBACK TRANSACTION;
SELECT @Amount;
That was a QOTD a couple of weeks ago...using local variables. Steve's testing to see who is paying attention 🙂
Sue
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply