MySQL Forums
Forum List  »  Newbie

Error: Not the correct way to delete records.
Posted by: George Padvorac
Date: November 07, 2022 08:23PM

I have a real simple delete statement giving me the error:

Not the correct way to delete records.

and a red squiggly under the word DELETE, however, this follows all the examples I have found and is the same syntax produced by DbForge.


DELETE
FROM MyTable
WHERE MyColumn = '7a610e5b-5efd-11ed-8eae-02efdba985a1';

and I also tried:

DELETE
FROM `MyTable`
WHERE MyColumn = '7a610e5b-5efd-11ed-8eae-02efdba985a1';



Can someone please tell me what is wrong with this?

Thanks

Options: ReplyQuote


Subject
Written By
Posted
Error: Not the correct way to delete records.
November 07, 2022 08:23PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.