PL/SQL (MOSC)

MOSC Banner

Need help in plsql conditions

edited Apr 27, 2016 5:05AM in PL/SQL (MOSC) 12 commentsAnswered

Hello All,

In the below query i wanted to update 'base_asp' in the master table XXPLL_SALES_FCST_BGA_TMPL.

Issue i'm facing/need help: Need to update base_asp where sdate is equal and not equal with to_date in a single condition. In the current query which i framed i'm only able to update base_asp where sdate and to_date condition are equal.

For eg: In master table there is  no ASP for MAY-16  and in xxpll_sales_asp_mapping tmp table there is ASP for MAY-16, this has to be updated in XXPLL_SALES_FCST_BGA_TMPL table.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center