C csoseman Registered User. Local time Today, 14:46 Joined Aug 18, 2011 Messages 28 Aug 22, 2011 #1 Does anyone know of a way to compare the data between a current version of your database to a backup of that same database?
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, 23:46 Joined Jun 26, 2007 Messages 2,636 Aug 24, 2011 #2 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
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