Удалить SQL
DELETE FROM table_name;
Spotless Sandpiper
DELETE FROM table_name;
CREATE PROC dbo.DeleteLotsOfStuff
(@id int)
AS
Begin
DELETE FROM login WHERE klantid = @id
DELETE FROM klantGegevens WHERE klantid = @id
DELETE FROM orderGegevens WHERE loginNr = @id
End
DELETE FROM table_name
WHERE [condition];
1
2
Delete from Person.Person
Where BusinessEntityID=1
1
Delete from Person.Person