Advertisement
Advertisement
| 06.16.2008 at 03:55AM PDT, ID: 23487693 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: |
##################################### [script 1] work well and return #
variable out_var VARCHAR2;
begin
leads_validation.sp_valid_leads('','','','','054','7318633','','','' ,'','name','CC',10,'','','',123456,'',:out_var);
end;
/
print out_var
###################################### [script 2] I got Error
CREATE OR REPLACE PROCEDURE load_data_to_ext_prospect AS
t_point NUMBER := 0;
BEGIN
--EXECUTE IMMEDIATE 'variable out_var VARCHAR2'USING OUT out_var;
FOR rec IN (SELECT * FROM out_prospect
WHERE DATE_INSERTED > TO_DATE('01/01/2008 00:00:00','mm/dd/yyyy HH24:MI:SS') AND status LIKE 'O' AND rownum <=1
)
LOOP
t_point := 1;
leads_validation.sp_valid_leads(
rec.first_name,
rec.last_name,
null,
rec.account_number,
rec.area_home_phone,
rec.home_phone,
rec.area_work_phone,
rec.work_phone,
rec.area_mobile_phone,
rec.mobile_phone,
rec.city,
rec.user_code,
rec.source,
rec.campaign_code,
rec.comments,
rec.name,
rec.work_order_number,
rec.relationship,
:out_var -- Get '#' if sp_valid_leads success (return-> #)
);
t_point := 2;
UPDATE out_prospect SET status = 'S'
WHERE out_prospect_id = rec.out_prospect_id;
COMMIT;
t_point:=3;
END LOOP;
EXCEPTION WHEN OTHERS THEN
EXTRACT_CONTROL.insert_ext_error(SQLERRM,t_point,'load_data_to_ext_prospect');
END;
/
sho err
|