Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ORA-01732: data manipulation operation not legal on this view

Satyam ReddyAug 4 2020 — edited Aug 6 2020

Team,

let us consider our basic scott.emp table to replicate the data for my current scenario.

On executing the below Delete stmt I get the error message as "ORA-01732: data manipulation operation not legal on this view"

Delete from (

select empno,ename,job,deptno,ROW_NUMBER( ) OVER (PARTITION BY deptno ORDER BY job DESC) AS rn from scott.emp a

) where rn>1

Any help most welcome.

Thanks !!

This post has been answered by Solomon Yakobson on Aug 4 2020
Jump to Answer
Comments
Post Details
Added on Aug 4 2020
6 comments
11,344 views