24
Views
2
Comments
Solved
How to use DELETE statement in SQLin Oracle
Question

I'm trying to execute DELETE statement in SQL in Oracle Database.

But it fails to test like below.

Also, I added semicolon at the end of Delete statement like this, 

-------------------

DELETE FROM {Detail}

DELETE FROM {Origin};

-------------------

but it didin't work. 



Here is my EntityDiagram.


Could you possibly tell me the solution?

Best,

2020-11-25 10-45-32
Mostafa Othman
Champion
Solution

Hello Tsubasa,

Try to use following syntax:


begin

delete from {Detail};

delete from {Origin};

end;

2022-06-06 09-58-43
Gourav shukla

Hello Tsubasa Yoshikawa,

                                 Follow the link for solution - https://success.outsystems.com/Documentation/How-to_Guides/Data/How_to_delete_data_from_Entities

Thanks

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.