Comparing data to backup version of DB (1 Viewer)

csoseman

Registered User.
Local time
Yesterday, 21:15
Joined
Aug 18, 2011
Messages
28
Does anyone know of a way to compare the data between a current version of your database to a backup of that same database?
 

Guus2005

AWF VIP
Local time
Today, 06:15
Joined
Jun 26, 2007
Messages
2,645
if it is a backup, then the data should be the same. not sure why you want to check that?

one way to do it is to create a query for each table in each database.

qry1:
select * from table1 in "c:\backup\201108\database.mdb"
qry2:
select * from table1 in "c:\production\database.mdb"

qry3:
select * from qry1 inner join qry2 on qry1.id=qry2.id and qry1.field1 = qry2.field1 ...

this is the general direction.

HTH:D
 

Users who are viewing this thread

Top Bottom