I have this code
Const SQLStatement As String = "DELETE people, account FROM people CROSS JOIN account ON people.peopleID = account.peopleID WHERE uname = @p3 "
command.Parameters.AddWithValue("@p3", username.Value)
When the user inputs the username of an account, that statement should delete the records in two tables the people table
and account table
It says that it is successful however when I look up to the database nothing has been changed? I have another one which is add account however that works perfectly fine.
I don't know what is the problem? Is it in my syntax?