Ver Mensaje Individual
  #2 (permalink)  
Antiguo 22/02/2007, 12:37
daniel00
 
Fecha de Ingreso: noviembre-2006
Ubicación: México
Mensajes: 866
Antigüedad: 17 años, 6 meses
Puntos: 8
Re: delete from table where id in(1,2,3)

Que tal Efrain.

La sentencia
Código:
DELETE FROM TuTabla
Where Id in (20,21, 22,23, 24, 25, 26, 27, 28)
Equivale a:
Código:
DELETE FROM TuTabla
Where Id BETWEEN  20  AND  28
Saludos!