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!

Facing an issue in accessing a sequence concurrently

Rajendra SowaniSep 6 2013 — edited Sep 6 2013

Working on the order integration using staging schema between ERP and CRM.

Facing an issue :- Used one procedure to integrate the data from CRM to ERP and which is being called in two different order type simultaneously. In this procedure I have used a sequence which will be a primary key. The logic written is 1. fetching value from a sequence and 2. creating a record in the table.

In the above scenario, it is being observed that some times it is getting same sequence no in both the jobs and hence the result of the same triggers to failure of the transaction.

Need help to resolve this issue.

Regards,

Rajendra

Comments

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

Post Details

Locked on Oct 4 2013
Added on Sep 6 2013
2 comments
412 views