Buon giorno, avrei la necessità di eliminare i primi 1000 record da una tabella.
In rete ho trovato questo:
io ho utilizzato solo questa porzionecodice:DELETE TOP(1000) FROM <table> WHERE [DateTime] < @TwoYearsAgo
Ma non funziona e mi restituisce questo errore:codice:DELETE TOP(1000) FROM <table>
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(1000) FROM tb_rubrica' at line 1
Per favore aiuto.

Rispondi quotando
