Ver Mensaje Individual
  #5 (permalink)  
Antiguo 09/02/2008, 09:18
Avatar de m4xp0wer
m4xp0wer
 
Fecha de Ingreso: septiembre-2007
Mensajes: 66
Antigüedad: 16 años, 7 meses
Puntos: 1
Re: Borrar datos de todas las tablas.

http://dev.mysql.com/doc/refman/5.0/en/delete.html

Ahi te viene la sintaxis de delete para varias tablas a la vez. Básicamente se hace DELETE [tablas_que_quieres_borrar] from [tablas_que_forman_la_consulta] where [condicion]