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

ارجو المساعدة

Featured Replies

بتاريخ:

ناتج تنفيذ هذا ال  trigger    يعطى الخطأ التالى

3/1      PL/SQL: SQL Statement ignored
4/46     PL/SQL: ORA-00933: SQL command not properly ended
22/18    PLS-00103: Encountered the symbol "=" when expecting one of the
         following:
         := . ( @ % ;

24/1     PLS-00103: Encountered the symbol "ELSIF"

 

ارجو المساعده فى حل هذا الخطأ

والترجر هو

create or replace trigger mytri
after
insert or update or delete
on  moshtrawat
for each row
begin
if inserting  then
update storesasnaf set
quantity = quantity + nvl ( :new.quantity,0)
unit_price_clint = :new.unit_price_clint
where snum = :new.snum;
elsif updating ('snum') then
update storesasnaf set
quantity = quantity-nvl(:old.quantity,0)
where snum = :old.snum;
update storesasnaf set
quantity = quantity + nvl ( :new.quantity,0)
where snum = :new.snum;
elsif updating ('quantity') then
update storesasnaf set
quantity = quantity-nvl(:old.quantity,0)
where snum = :old.snum;
update storesasnaf set
quantity = quantity + nvl ( :new.quantity,0)
where snum = :old.snum;
elsif updating ('unit_price_clint')  then
unit_price_clint = :new.unit_price_clint
where snum = :old.snum;
elsif deleting then
update storesasnaf  set
quantity = quantity-nvl(:old.quantity,0)
unit_price_clint = null;
where snum = :old.snum;
end if;
end;

بتاريخ:

حط فاصله في الجزء دا وجرب

elsif deleting then
update storesasnaf  set
 ,quantity = quantity-nvl(:old.quantity,0
unit_price_clint = null;
where snum = :old.snum;
end if;
end;

تم تعديل بواسطة HELL-BOY

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

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

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

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

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

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.