Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Can you have a nested transaction?

Answers were Sorted based on User's Feedback



Can you have a nested transaction?..

Answer / brahma

Yes,
Begin transaction t1
update <Table_Name> set <col1>=<col1>+50
Begin Transaction t2
delete from <Table_Name> set <col1>=<col1>+100
commit Transaction t2
end transaction t1

Is This Answer Correct ?    3 Yes 0 No

Can you have a nested transaction?..

Answer / visala

yes, we can have nested transactions. to know the nest
level use @@trancount

Is This Answer Correct ?    3 Yes 1 No

Can you have a nested transaction?..

Answer / swapna

Yes, very much. Check out BEGIN TRAN, COMMIT, ROLLBACK,
SAVE TRAN and @@TRANCOUNT.

Is This Answer Correct ?    1 Yes 1 No

Can you have a nested transaction?..

Answer / ram&saran

It's possible, up to 32 levels of transaction in sql server2005.
begin tran t1
----statements
begin tran t2
----statments
.
.
commit tran t2
commit tran t1

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More SQL Server Interview Questions

1.Describe way(s) to tune the SQL table in order to optimize performance. 2. Explain SQL Injection and how can you prevent them?

1 Answers   Techno Solutions,


Explain the collation?

0 Answers  


what is the difference in login security modes between v6.5 and 7.0? : Sql server database administration

0 Answers  


What are the different types of backup avaible in SQL SErver

6 Answers   Emphasis, IBM,


How can I check if a view exists in a sql server database?

0 Answers  


How can you hide the sql server instances?

0 Answers  


What is collation sensitivity?

0 Answers  


what is the difference between openrowset and openquery?

0 Answers  


How to use old values to define new values in update statements in ms sql server?

0 Answers  


Write a sql query to display the current date?

0 Answers  


What is read committed?

0 Answers  


how to find 6th highest salary

0 Answers   Chetak Logistics,


Categories