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!

I want to convert progress editor query to Oracle query.

620516Jul 2 2009 — edited Jul 7 2009
Hi,

I want to convert progress editor query to Oracle query.

In the below query we need to run this on every saturday(04-July-09) at 3:30 PM.

FOR EACH sector WHERE sector.latest-dep-date >= 06/25/09
AND sector.latest-dep-date <= 07/03/09 NO-LOCK :
FIND uobj-tag WHERE uobj-tag.parent-obj-id = sector.obj-id
AND uobj-tag.tag-name = 'Fuel Consumption'
NO-ERROR.
IF NOT AVAIL(uobj-tag) THEN DO :
CREATE uobj-tag.
ASSIGN uobj-tag.parent-obj-id = sector.obj-id

uobj-tag.tag-name = 'Fuel Consumption'.
END.
END.

I want to run this script automatically using Oracle query.


Please advise.




Thanks & Regards
Nihar
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 4 2009
Added on Jul 2 2009
9 comments
736 views