Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Sql server handling commit and rollback

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2004-01-23 : 07:15:25
Meghna writes "I am working in ASP and SQL Server.Through an ASP page i am updating tables residing in different SQL servers. Due to the slow speed of Internet connection, sometimes only few tables get updated in one of the SQL server. I want to know is there any way to rollback my querries so that if there is update it should be in all otherwise in none. Can i handle this through SQL server.Please reply."

nr
SQLTeam MVY

12543 Posts

Posted - 2004-01-23 : 08:31:46
You would probably be better off saving all the data you want to update on a single server (in a text file or tables) then using that to update the production tables using a distributed transaction from an SP.

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

ValterBorges
Master Smack Fu Yak Hacker

1429 Posts

Posted - 2004-01-23 : 08:39:35
Either that or write a com+ object and add transaction statements to your code.

Go to Top of Page
   

- Advertisement -