R
Ramaprasad Keshavamurthy via AccessMonster.com
I have two database with same tables and same field name. My requirement is
to get the Distinct data either from a or b database but when the records
reaches more than 30000 then the query will never execute. Here is the code
written.
SELECT b.BatchNumber AS Batchno FROM
[;Database=C:\Btrieve\TempBPS171.mdb].Batch AS b LEFT JOIN
[;Database=C:\Btrieve\BPS171.mdb].Batch AS a ON
b.BatchNumber<>a.BatchNumber WHERE
b.BatchNumber<>a.BatchNumber
to get the Distinct data either from a or b database but when the records
reaches more than 30000 then the query will never execute. Here is the code
written.
SELECT b.BatchNumber AS Batchno FROM
[;Database=C:\Btrieve\TempBPS171.mdb].Batch AS b LEFT JOIN
[;Database=C:\Btrieve\BPS171.mdb].Batch AS a ON
b.BatchNumber<>a.BatchNumber WHERE
b.BatchNumber<>a.BatchNumber