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

اريد معلومات عن : ORA-00036: maximum number of recursive SQL levels (50)

Featured Replies

بتاريخ:

السلام عليكم و رحمه الله

اتمنى من الله ان يكون الجميع فى احسن حال
و قعت فى مشكله تريجر على مستوى الداتا بيز كان شغال زى الفل و فجاه طلع الايرور ده

ORA-00036: maximum number of recursive SQL levels (50) 


طبعا هو متعلق بتريجر .......(وجمل DML انا لم ادعدى 5 جمل بتنفذ فى حاله تنفيذ التريجر )
و عايز اعرف هل فى مشكله لو انا عملت اكتر من تريجر على مستوى اسكيما واحده (انا دلوقتى عمل 40)تريجر وانا عندى فى الاسكيما حاولى 45 جدول (المشروع كبير لحد ما ).وهل كثر التريجرات على مستوى داتا بيز فيها مشاكل (علما ان كل واحد له وظيفه معينه وهم غير متتدخلين بالمره فى اصعب الحالات لما تكتب جمله DML بيفر 3 تريجرت بس).
ارجو ان تكون الاجابه سريعه و من مصدر موثق .
اجابتكم سوف يتقرر عليها تخطيط المشروع كامل.
( وانا ممكن اعيد نظر فى التحليل فى حاله وجود مشكله فى كثره التريجر )..و طبعا ده وقت زياده اوى خصوص انى تقريبا كنت خلصت .

وجزاكم الله خير .

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

بتاريخ:

السلام عليكم
شرح الخطأ من الـ Metalink

Error: ORA 36


Text: Maximum number of recursive sql levels (%s) exceeded
---------------------------------------------------------------------------
Cause: An attempt was made to go more than the specified number of recursive
SQL levels was made.
Action: Remove the recursive SQL, possibly a recursive trigger.

*** Important: The notes below are for experienced users - See [NOTE:22080.1]

In Oracle7/8 there is a hard carded limit of 50 recursive
sessions. This hard coded limit is NOT configurable.

If a you have hit 50 recursive sessions there is probably something
wrong in the code causing an infinite recursion.
Eg: PLSQL which uses DBMS_SQL to call itself over and over.

The following may help collect additional information about the
true problem.
NB: See [NOTE:75713.1] before setting any event in the init.ora file.

Add this line to the init.ora file for the instance:

event="36 trace name errorstack level 3"

This should dump a trace file when the ORA-36 occurs. The trace file may
help identify the cause of the problem.

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

جزاك الله خير يا مشرفنا الغالى .واشكرك على اهتمامك وسرعه ردك .
انا فعلا قريت الكلام ده قبل كده و كنت اطمع فى المزيد و رد عن استفسر تاثير كثره التريرجر على مستوى الداتا بيز .(و الغريبه انه كان شغال ...وفجاء وقف.)
وجزك الله خير .

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

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

شكر خاص الى اخ الكريم Ahmad.Hasan تم حل المشكله بفضل الله .
و لكان فى انتطار الرد فى استفسار تاثير كثره التريرجر على مستوى الداتا بيز .
وجزكم الله خير

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

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

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

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

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

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

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.