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

بتاريخ:

الاخوة في منتدى اوراكل العربي ،،،،،،السلام عليكم ورحمة الله
الرجاء منكم الاجابة على سؤالي هذا بأسرع مايمكن....
لماذا عند عمل زر push_button وكتابه شفرة فيه لإضافة سجل الى جدول ما يظهر هذا الخطاء:
FRM-40735:WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-00001.
ماهو سبب ذلك الرجاء منكم اجابتي قدر الاستطاعة ومشكورين على جهودكم في هذا المنتدى ...... ودمتم
اخوكم /ammar_pro

بتاريخ:

خي ammar_pro
يجب ان نعرف ماهو ال exception حتى نحدد المشكلة لذلك ارجوا منك كتابة الكود التالي في اخر الكود و من ثم اخبرنا ما هو الexception الناتج.

EXCEPTION

MESSAGE(SQLERRM);
MESSAGE(' ');

بتاريخ:

ارجوا وضع كلمة EXCEPTION قبل الكود .

بتاريخ:

هلا اخي
اليك السبب كما في اوراكل

ORA-00001 unique constraint (string.string) violated

Cause: An UPDATE or INSERT statement attempted to insert a duplicate key. For Trusted Oracle configured in DBMS MAC mode, you may see this message if a duplicate entry exists at a different level.

Action: Either remove the unique restriction or do not insert the key.


  • بعد 8 سنة...
بتاريخ:

السلا عليكم 

انا عندي نفس المشكلة في زر التعديل تظهر لي نفس رسالة الخطأ وأين نكتب EXCEPTION

بتاريخ:

السلام عليكم

 

تكتب جملة  EXCEPTION  في نهاية الجملة

 

مثال على ذلك 

 

begin

 

 

if :deptno is null  then

 

:deptno=1

 

end if;

 

EXCEPTION when others

 

null;

 

end;

 

 

 

 

 

 

 

end;

 

 

بتاريخ:

تم التعديل هذا الكود الصحيح

 

 

السلام عليكم

 

تكتب جملة  EXCEPTION  في نهاية الجملة

 

مثال على ذلك 

 

begin

 

 

if :deptno is null  then

 

:deptno=1

 

end if;

 

EXCEPTION when others  then

 

null;

 

end;

 

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

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

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

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

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

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.