Re: Error: Not the correct way to delete records.
You don't say which client tool you're using to write this statement.
Is there anything else
before this in the "editor"?
If there is, then the tool might be trying to read the DELETE as a keyword to the preceding command, rather than a statement in its own right.
SELECT *
FROM MyTable <-- No semicolon to end the select
DELETE <-- Delete doesn't "go" on the end of a "select". ERROR
FROM MyTable ...
Regards, Phill W.
Subject
Written By
Posted
November 07, 2022 08:23PM
Re: Error: Not the correct way to delete records.
November 08, 2022 05:14AM
November 08, 2022 07:06AM
November 08, 2022 09:15AM
Sorry, only registered users may post in this forum.
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.