ingabraham
09-05-2008, 22:03:24
hola necesito borrar varios registros de varias tablas.
ej.
cuentascobro=1
tregistros en facturas
facturas tiene registros en historiasclinicas
me entienden entonces yo doy el cod=1 y se me borra todo el historial q tiene desde esa cuenta
ej2:
delete
cuenta,facturas ...
whre num=1 and cuenta.num= factura.num ...
ej.
cuentascobro=1
tregistros en facturas
facturas tiene registros en historiasclinicas
me entienden entonces yo doy el cod=1 y se me borra todo el historial q tiene desde esa cuenta
ej2:
delete
cuenta,facturas ...
whre num=1 and cuenta.num= factura.num ...