Sub Transaction Problem
Hello Friends,
Can anyone of you tell me the output of following query using Transactions:
BEGIN TRANSACTION
INSERT TABLE1(COL_1,COL_2)
VALUES('ONE','TWO')
BEGIN TRANSACTION
INSERT TABLE1(COL_1,COL_2)
VALUE('THREE','FOUR')
ROLLBACK
COMMIT
How many rows will be inserted,if any? What is the logic?
Thank you.
Gaurav Jain
__________________
Gaurav
|