Hello,
For each row in table X I need to write an T-SQL statement that deletes rows in 5 tables. It should look something like this:
declare myInt =0
(foreach row in table x)
{
delete * from table y where rowId = tablex.row
}
Hello,
For each row in table X I need to write an T-SQL statement that deletes rows in 5 tables. It should look something like this:
declare myInt =0
(foreach row in table x)
{
delete * from table y where rowId = tablex.row
}