الانتقال إلى المحتوى
View in the app

A better way to browse. Learn more.

مجموعة مستخدمي أوراكل العربية

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How To Invoke A Procedure With Variables In A Form

Featured Replies

بتاريخ:

Assalamu 3licom
Many thanx for all help given by this forums
my problem is simply defined as follows
I 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 ASAP
Gazakom allaho 7'yrn
Many thanx in advance
or u can contact me on this e-mail
[email protected]

  • بعد 2 أسابيع...
بتاريخ:

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 form


Best Regards

Osama Soliman

بتاريخ:
  • كاتب الموضوع

Many thanx for ur reply
we already solve it
jazakom allaho kyrn

انضم إلى المناقشة

يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.

زائر
أضف رد على هذا الموضوع...

برجاء الإنتباه

بإستخدامك للموقع فأنت تتعهد بالموافقة على هذه البنود: سياسة الخصوصية

Account

Navigation

البحث

إعداد إشعارات المتصفح الفورية

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.