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

بتاريخ:

بسم الله الرحمن الرحيم
أنا عملت cursor
ده

declare
	cursor emp_cur is select * from items;
   
  begin
  if not emp_cur%isopen then
   open emp_cur;
   end if;
 loop
   fetch emp_cur into :code,:name,:sdate,:min,:quntity,:kind,:note;	 
 exit when  emp_cur%notfound;
		 fetch emp_cur into :code,:name,:sdate,:min,:quntity,:kind,:note;
 end loop;
   close emp_cur;
  end;


0a16dbdbc5.jpg
على أساس أنى عاوز أرجع بأكثر من حقل فى كل الtext item اللى عندى
ال cursor ده بيرجع بحقل واحد فقط مع أنى عامل كل الtext item تابيلر وعددهم 7
أزاى أخليه يظهر كل الداتا اللى عاوزها

بتاريخ:

كل عام وانت بخير
أخي انت ناسي تحط next_record عشان كل ما بعبي سجل ينقلك للسجل التالي
ليصبح الكود كالتالي:


declare
	cursor emp_cur is select * from items;
   
  begin
  if not emp_cur%isopen then
   open emp_cur;
   end if;
 loop
   fetch emp_cur into :code,:name,:sdate,:min,:quntity,:kind,:note;	 
 exit when  emp_cur%notfound;
		 fetch emp_cur into :code,:name,:sdate,:min,:quntity,:kind,:note;
next_record;
 end loop;
   close emp_cur;
  end;



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

جزاك الله خيرا أخى العزيز nhamzehn على المساعده الدائمه التى تقدمها لى وفى كل أسئلتى
جعلها الله فى ميزان حسناتك

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

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

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

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.