Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parent & Child
Message
From
12/08/2002 23:36:49
 
 
To
12/08/2002 10:25:27
General information
Forum:
ASP.NET
Category:
ADO.NET
Title:
Miscellaneous
Thread ID:
00686093
Message ID:
00688965
Views:
46
In this case the Begin/Rollback/End transaction commands must be used in the front-end not in SPs.


>Thanks for jumping in and verifying this Mike. I knew it was no big deal to SQL Server to recover from stuff like this, I just wasn't sure how or when it was implemented.
>
>~~Bonnie
>
>
>>As long as the mutliple updates are within a transaction...
>>
>>if just the connection to the server is lost, SQL Server will detect this and rollback the transaction.
>>
>>if SQL Server were to go down, the transaction would be rolled back when SQL Server restarted. When SQL Server starts, it goes through "recovery." Durning this phase, SQL Server looks for completed transactions that were not written to disk and rolls those forward. It also looks for incomplete transactions that were written to disk and rolls those back.
>>
>>-Mike
>>
>>>But SP's are more efficient because SQL Server compiles the SP's only once, and therefore little server resources are used.
>>>
>>>As far as network failure during updating ... you always will wrap parent-child table updates in a transaction, so recovering from a power failure is something that can be done easily enough in SQL Server. I don't know the particulars of doing database recoveries ... I'm not a DBA and don't know all the ins and outs of SQL Server, but I *do* know that it's no big deal.
>>>
>>>~~Bonnie
>>>
System Analyst
Nabil B. Ghrayyeb
nabilg@hotmail.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform