mysql - SQL DELETE not Deleting -


i have code

const sqlstatement string = "delete people, account people cross join account on people.peopleid = account.peopleid uname = @p3 " command.parameters.addwithvalue("@p3", username.value) 

when user inputs username of account, statement should delete records in 2 tables people table , account table

it says successful when database nothing has been changed? have 1 add account works fine.

i don't know problem? in syntax?


Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

objective c - Greedy NSProgressIndicator Allocation -

how to set an OCR language in Google Drive -