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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Help query

806692Oct 20 2010 — edited Oct 20 2010
I have a table with data as shown below.
ID OBJ STATUS
4 Account 100
5 Account 100
6 Account 100
7 Account 100
14 Response 100
15 Response 100
16 Response 100
17 Response 100

I want to update only first 2 records for both the OBJ (Account and Response) to status 200.
Can you please provide an update query to perform this task.

OUTPUT:
ID OBJ STATUS
4 Account 200
5 Account 200
6 Account 100
7 Account 100
14 Response 200
15 Response 200
16 Response 100
17 Response 100

Thanks in advance.
This post has been answered by Centinul on Oct 20 2010
Jump to Answer

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Nov 17 2010
Added on Oct 20 2010
4 comments
259 views