Hello everyone, I got an error Syntax error From Clause, anyone can help me?
I want to delete rows from 2 tables in my database that has the same LotNo.
I am using c# with MSaccess
I have tables
-Personaldata
-Spouse
Primary keys for each tables is LotNo. Pls, help me, I dnt know if my code for delete is correct or not. Pls, help me.
this is my code
sqlDelete2.CommandText = "DELETE Personaldata.*,Spouse.* from Personaldata JOIN Spouse using (LotNo) WHERE LotNo=LotNo ";
Thank you