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!

delete ..... where exists()

user491762Mar 2 2006 — edited Jun 18 2006
If I execute this statement, the whole table 'table1' will be deleted regardless from version number.
Why ?

delete table1 where exists(
select * from table1 inner join table2 on table1.id1=table2.id
where table2.version=303 )


Testet with Oracle 10g and Oracle SQL Developer.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 16 2006
Added on Mar 2 2006
9 comments
1,957 views