QODBC query to find invoices with duplicate RefNumbers

use:

 

select

a.RefNumber, a.CustomerRefFullName, a.TimeCreated

from Invoice a, Invoice b

where a.RefNumber = b.RefNumber

and a.TimeCreated <> b.TimeCreated

and ( a.TxnDate > {d'2021-09-21'} or b.TxnDate > {d'2021-09-21'} )

 

Article Details

Article ID:
269
Date added:
2020-07-08 17:20:08
Views:
173
Rating (Votes):
(438)