Ciao, io ho usato questo per fare un backup e cancellare
codice:
StringaSQL = "Insert into utentidicono IN '" & Server.MapPath("../db/database.mdb") & "' select top "&totaleBackup&" * FROM utentidicono where username_ricevente='"&username_ricevente&"' "
utentidicono.Execute(StringaSQL)
SQL2 = "delete from utentidicono where id in (select top "&totaleBackup&" Id from utentidicono where username_ricevente='"&username_ricevente&"' order by id asc)"
utentidicono.execute(sql2)
spero possa esserti d'aiuto