Has anyone got TOP syntax working in a DELETE query? I am trying to delete all records with the most recent date. The syntax works with SELECT eg
But doesn't port to DELETE. Clues?
Code:
SELECT TOP 1 Payments.DateOfPayment, Payments.*
FROM Payments
ORDER BY Payments.DateOfPayment;
But doesn't port to DELETE. Clues?