بتاريخ: 13 مايو 200719 سنة comment_99687 Assalamu 3licomMany thanx for all help given by this forumsmy problem is simply defined as followsI created a procedure with variables in a form and i want to call it in the same form using a button i wrote in that trigger "proceduure_name;" do it returns this error" Error 306 wrong number or types of arguments in call to 'procedure name'please advise and feed back me ASAPGazakom allaho 7'yrnMany thanx in advanceor u can contact me on this e-mail[email protected] تقديم بلاغ
بتاريخ: 22 مايو 200719 سنة comment_100373 Dear When you call a procedure with parameter you must pass the same number of parameter to the procedure as the followng example CREATE OR REPLACE PROCEDURE query_emp (p_id IN employees.employee_id%TYPE, p_name OUT employees.last_name%TYPE, p_salary OUT employees.salary%TYPE, p_comm OUT employees.commission_pct%TYPE) IS BEGIN SELECT last_name, salary, commission_pct INTO p_name, p_salary, p_comm FROM employees WHERE employee_id = p_id; END query_emp; / VARIABLE g_name VARCHAR2(25) VARIABLE g_sal NUMBER VARIABLE g_comm NUMBER EXECUTE query_emp(103, :g_name, :g_sal, :g_comm) PRINT g_name you can apply the same concept in the formBest RegardsOsama Soliman تقديم بلاغ
بتاريخ: 22 مايو 200719 سنة كاتب الموضوع comment_100374 Many thanx for ur replywe already solve itjazakom allaho kyrn تقديم بلاغ
انضم إلى المناقشة
يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.