I have declared a procedure, function "con_event_dt" and a variable "v_subm_dt_id" in the package specification.
In the Package body I am trying to execute the following query:
v_str_sql:= SELECT 'card_cd, con_event_dt(v_subm_dt_id,card.card_wip_id_cd) as card_subm_dt '|| 'FROM card_wip c_wip ' ||
', card card '||
', concept_detl cd '
The function "con_event_dt" is declared in the specification and actual details are in the body.
--------------------------------------------------------
I am getting an error when I execute the procedure
"invalid column name", this happens only when I use the function and variable in the select statement and obviously this is where the problem is.
You help will be greatly appreciated. Thanks.
In the Package body I am trying to execute the following query:
v_str_sql:= SELECT 'card_cd, con_event_dt(v_subm_dt_id,card.card_wip_id_cd) as card_subm_dt '|| 'FROM card_wip c_wip ' ||
', card card '||
', concept_detl cd '
The function "con_event_dt" is declared in the specification and actual details are in the body.
--------------------------------------------------------
I am getting an error when I execute the procedure
"invalid column name", this happens only when I use the function and variable in the select statement and obviously this is where the problem is.
You help will be greatly appreciated. Thanks.