الانتقال إلى المحتوى
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.

شباب كيف التعامل مع Mutating

Featured Replies

بتاريخ:

create or replace trigger check_president
before insert or update of sal,job on emp
for each row
declare
v_pres_sal emp2.sal%type;
begin
select sal into v_pres_sal
from emp
where sal = (select sal
from emp where job = 'PERSIDENT');
if (:new.sal) > v_pres_sal and (:new.job) <> 'PERSIDENT' OR (:old.job) <> 'PERSIDENT' THEN
RAISE_APPLICATION_ERROR(-20503,'the salary is out of staff range');
end if;
end;

تأتيني رسالة انه تم عمل الزناد بنجاح ,, لكن عندما أعمل تحديث تأتيني رسالة خطأ كالتالي
ORA:04091: table EMP is mutating trigger/function may not see it
أرجوا من الشباب الإفادة جزا الله خيرا كل من سعى

بتاريخ:

السلام عليكم ورحمة الله وبركاته

اخي الكريم

راجع الروابط التالية


http://www.araboug.org/ib/index.php?showtopic=16800


http://www.araboug.org/ib/index.php?showtopic=17267


جزاك الله كل خير

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

عزيزي jamal_rrkk جزاك الله خير وبارك الله في والديك لقد قمت بتحميل الملفات المرفقة وان شاء الله فيهما الاجابة ,, مرة اخرى لك الشكر كل الشكر

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

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

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

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

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

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.