I want to delete using INNER JOIN in SQL Server 2008.
INNER JOIN
But I get this error:
Msg 156, Level 15, State 1, Line 15<
This is a simple query to delete the records from two table at a time.
DELETE table1.* , table2.* FROM table1 INNER JOIN table2 ON table1.id= table2.id where table1.id ='given_id'