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  | 
                             
                            
                                    | 
                                         kamii47 
                                        Constraint Violating Yak Guru 
                                         
                                        
                                        353 Posts  | 
                                        
                                        
                                            
                                            
                                             Posted - 2010-05-31 : 01:10:00
                                            
  | 
                                             
                                            
                                            | Transaction across two different databases of MS access is possible?I am developing in .net and have two different database db1.mdb and db2.mdb in an existing application.Now i have to impose a transaction in which there is insertion going on in both databases.Either both should work or nothing.Is this possible?Kamran ShahidSr. Software Engineer(MCSD.Net,MCPD.net) | 
                                             
                                         
                                     | 
                             
       
                            
                       
                          
                            
                                    | 
                                     AndrewMurphy 
                                    Master Smack Fu Yak Hacker 
                                     
                                    
                                    2916 Posts  | 
                                    
                                      
                                        
                                          
                                           
                                            Posted - 2010-05-31 : 04:50:40
                                          
  | 
                                         
                                        
                                          | Not unless you code in the appropriate checks to control the commit/rollback processes.  And even this may need to be an "after the fact" process which continually loops to ensure "database integrity".I can see a large order for "Aspirin/Advil" coming from trying to sovle this "requirement".  | 
                                         
                                        
                                            | 
                                         
                                       
                                     | 
                                   
                            
                       
                          
                            
                                    | 
                                     kamii47 
                                    Constraint Violating Yak Guru 
                                     
                                    
                                    353 Posts  | 
                                    
                                      
                                        
                                          
                                           
                                            Posted - 2010-05-31 : 06:25:20
                                          
  | 
                                         
                                        
                                          | Thanks AndrewKamran ShahidSr. Software Engineer(MCSD.Net,MCPD.net)  | 
                                         
                                        
                                            | 
                                         
                                       
                                     | 
                                   
                            
                       
                          
                            
                                    | 
                                     Kristen 
                                    Test 
                                     
                                    
                                    22859 Posts  | 
                                    
                                      
                                        
                                          
                                           
                                            Posted - 2010-05-31 : 06:27:16
                                          
  | 
                                         
                                        
                                          | It would be fine in MS SQL though ...  | 
                                         
                                        
                                            | 
                                         
                                       
                                     | 
                                   
                            
                            
                                | 
                                    
                                      
                                     
                                    
                                 | 
                             
                         
                     | 
                 
             
         |