I have a master table and a details table.
On delete cascade is not specified.
I want delete child record as well as master record in a single query.
Suppose I want to delete EmployeeDetails and Employee record where EmpID=20 using a single query.
Is it possible?
Please help.
you cannot do it in a single query unless you have
cascade deleteturned on or you have atriggeron the PK table that will delete the FK table rows for that relationship