Skip to Main Content

PeopleSoft Enterprise

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!

Update multiple rows in one table with multiple valued from another

2844096Oct 25 2015 — edited Nov 3 2015

Using SQL Server

How can this be done:

In all rows in the top table PS_CA_BILL_PLAN we want to update field LAST_XREF_SEQ_NUM with the MAX(XREF_SEQ_NUM)+1 from the bottom table

Where the CONTRACT_NUM and BILL_PLAN_ID are equal

This SQL below (in green) works for one row only

SQL.jpg

This post has been answered by CameronS on Nov 2 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 1 2015
Added on Oct 25 2015
2 comments
359 views