Hello everyone,
i have table named newtemp with these fields
Custno(chr), invdte (date) and price(currency)
i have in this table duplicated records, that is fine but what is not correct is the
ones that are duplicated but have the same custno, invdate and same price values, so i need to delete just one of
them
example
custno invdte price
1001 02/12/12 $45.00
1001 03/10/13 $35.00
2003 01/08/12 $15.00
2003 01/08/12 $15.00
the last two records shown are having the same values in each field, i just need to find
and SQL or a little piece of code just to delete just one of the two record when this condition happens
in the table.
Does anyone has a suggestion?
Thanks a lot in advance
Ernest
i have table named newtemp with these fields
Custno(chr), invdte (date) and price(currency)
i have in this table duplicated records, that is fine but what is not correct is the
ones that are duplicated but have the same custno, invdate and same price values, so i need to delete just one of
them
example
custno invdte price
1001 02/12/12 $45.00
1001 03/10/13 $35.00
2003 01/08/12 $15.00
2003 01/08/12 $15.00
the last two records shown are having the same values in each field, i just need to find
and SQL or a little piece of code just to delete just one of the two record when this condition happens
in the table.
Does anyone has a suggestion?
Thanks a lot in advance
Ernest