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.
| Author |
Topic |
|
sent_sara
Constraint Violating Yak Guru
377 Posts |
Posted - 2008-04-14 : 01:55:48
|
| hi friends,Iam Executing the sp logic.suppose incase if any problem occurs inbetween execution(NO SPACE,communication failure,log full)data is getting commited partially insteady of rollbacking entire transaction.CREATE procedure RBI_Control_spasbeginset nocount on--Checking the count before truncatingexec fin_ods..count_sp--Truncating the Table exec fin_ods..trun_sp--Data Transfer exec fin_ods..RBI_Data_Transfer_sp--Checking the count after Data transferexec fin_ods..count_sp--temp table Table population,Fetching data from the fin_ods[erp Table]exec FIN_wh..RBI_SPExecution_spset nocount offend |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
|
|
|
|
|