limit a table to ... rows

admin

Administrator
Staff member
how do I limit a table to let's say 1000 rows?
What's the DELETE statement to delete all rows except the 1000 most recent ones?
I don't want to delete by date, I just want to delete anything that goes over 1000 rows.

thanx
Philippo
 
Back
Top