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 |  
                                    | OyekunleStarting Member
 
 
                                        1 Post | 
                                            
                                            |  Posted - 2010-11-19 : 03:11:11 
 |  
                                            | Hi,    I have a problem resulting from using 'Trans' in Stored Procedure for Sql Server 2005. Ideally, no table should be updated when an error occurs. That is there should be a roll-back of all data. But Some Columns get updated while some do not when there is an error. Pls I need Help on this. |  |  
                                    | tkizerAlmighty SQL Goddess
 
 
                                    38200 Posts |  |  
                                    | nigelrivettMaster Smack Fu Yak Hacker
 
 
                                    3385 Posts | 
                                        
                                          |  Posted - 2010-11-19 : 04:54:17 
 |  
                                          | Do you check for errors after every statement? - i.e. do you continue after a rollback.Is something being done on another connection.Does something commit/rollback in the wrong place.==========================================Cursors are useful if you don't know sql.SSIS can be used in a similar way.Beer is not cold and it isn't fizzy. |  
                                          |  |  |  
                                |  |  |  |