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
 Other Forums
 MS Access
 Transaction across two different databases of MS a

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 Shahid
Sr. 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".
Go to Top of Page

kamii47
Constraint Violating Yak Guru

353 Posts

Posted - 2010-05-31 : 06:25:20
Thanks Andrew

Kamran Shahid
Sr. Software Engineer
(MCSD.Net,MCPD.net)

Go to Top of Page

Kristen
Test

22859 Posts

Posted - 2010-05-31 : 06:27:16
It would be fine in MS SQL though ...
Go to Top of Page
   

- Advertisement -