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

بتاريخ:

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

اخواني اشكركم على هذا المنتدى التعليمي والله يزيدكم من علمه

انا بصراحه اعرف مبادء قليلة جدا في PL/SQL وقد واجهة مشكله اثناء محاولات

لحل هذا السؤال ..

ارجو من يقوم بحله التوضيح والشرح إن امكن ..

اتركم مع السؤال
Untitled-2.gif

بإنتظار ردودكم

تم تعديل بواسطة SuNtOp

بتاريخ:

salam ...i did the same example but unfortunately i dont have it right now...
i will get it for u tommorrow inshallah so dont worry .. :)

بتاريخ:

create or replace procedure update_sal is
 emp_count number;

 cursor emp_cur is
   select empno,ename,esal from employee where esal between 1000 and 3000;

 emp_rec emp_cur%rowtype;
begin select count(*)
   into emp_count from employee where esal between 1000 and 3000;

 if emp_count is null or emp_count = 0 then
   raise no_data_found;
 end if;

 for emp_rec in emp_cur loop
 
   update employee
      set esal = esal + (esal * 0.2)
    where empno = emp_rec.empno;
 
   insert into commition (eno,ename,sal)
   values
     (emp_rec.empno,emp_rec.ename,emp_rec.esal + (emp_rec.esal * 0.2));
 
 end loop;
 commit;
 dbms_output.put_line(emp_count || '  employees updated');
exception
 when no_data_found then
 
   dbms_output.put_line('no_data_found');
end update_sal;

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

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

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

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

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

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.