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!

How to use User defined Function in Update statement

User_GTJEPNov 18 2011 — edited Nov 18 2011
Hi All,

I have written below update statement to update column based on value return by function. but it is not working. Could any one help me on this. This function will return only one value for each project.

thanks in advance.

UPDATE dg2.OD_PROJ_LOOKUP_TEMP o
SET Months_In_Stage_Cnt = select Months_In_Stage_Cnt_ret(o.project_id) from dual;


thanks
deb
This post has been answered by Dom Brooks on Nov 18 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 16 2011
Added on Nov 18 2011
7 comments
2,494 views