Having trouble with interface table structures in MSSQL
0
votes
1
answer
42
views
Hi I'm currently working on a project that involves a third party database and application. So far we are able to successfully **TEST** and interface data between our databases. However we are having trouble when we are extracting a large set of data (ex 100000 rows and 10 columns per row) and suddenly it stopped at the middle of transaction for whatever reason(ex blackouts, force exit or etc..), missing or duplication of data is happening in this type of scenario.
Can you please give us a suggestions to handle these types of scenarios.
Here's our current interface structure
- OurDB -> Interface DB -> 3rdParty DB
- OurDB: We are extracting records from OurDB (with
bitcolumn
as
false
) to the InterfaceDb
- InterfaceDB: After inserting records from OurDB, we will update OurDB
bitcolumn
as true
- 3rdPartyDB: They will extract and delete all records from InterfaceDB
(they assume that all records is for extraction)
Asked by zxc
(121 rep)
Nov 14, 2016, 04:20 AM
Last activity: Nov 14, 2016, 07:19 AM
Last activity: Nov 14, 2016, 07:19 AM