Viewing 7 posts - 1 through 7 (of 7 total)
I would buy explanation given here if it wasn't supported by ms docs link which says
Implicit transactions
A new transaction is implicitly started when the prior transaction completes, but each transaction...
October 17, 2022 at 12:44 pm
It only checks on column. If table does not exist statement will fail. So in fact old-style if checking on information_schema.columns would be more bulletproof as you can search for...
October 3, 2022 at 8:52 am
Ok, i should write "when transaction fails and rollback is completed" :). But when rollback is done - you no longer need log records. Of course "discarded" does not mean...
October 16, 2015 at 4:51 am
Hello
what is the use LDF file in Simple recovery model data base.
RDBMS will always need some "temporary" space to keep "notes" about the progress of the transaction. In case transaction...
October 16, 2015 at 4:00 am
first - all available answers are wrong. "-1,-0,1" is the better looking although you will not get "-0"
second - with identity (-1,1) you can only get -1, 0, 1. If...
June 27, 2010 at 4:21 am
First query returns 0 ONLY when SET ROWCOUNT {something} is executed first. It doesn't matter to which value ROWCOUNT is set (2008EE).
Interesting issue but answer to the question is wrong
January 28, 2010 at 11:19 pm
I know it's very old question but i think explanation here is wrong. Output is 0 not because there's no rows updated but because @@rowcount holds number of rows affected...
July 16, 2009 at 11:14 pm
Viewing 7 posts - 1 through 7 (of 7 total)