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

لماذا لا يتم عمل Trigger في Sys Schema

Featured Replies

بتاريخ:

عندما قمت بعمل هذا التريجر

CREATE OR REPLACE TRIGGER server_error_trig
AFTER SERVERERROR ON SCHEMA
DECLARE
v_code 		NUMBER;
v_error_message 	VARCHAR2(100);
BEGIN v_code :=SQLCODE;
  	v_error_message := SQLERRM;
  	INSERT INTO server_errors VALUES (USER,SYSDATE,v_code, v_error_message);
END server_error_trig; /



لقيت error بيقول

ORA-30510: system triggers cannot be defined on the schema of SYS user

مع العلم بان server_errors ده جدول يتم كتابة فيه user name, date, code ,error message


السؤال هو
لماذا لا يتم عمل trigger في sys schema


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














-------------------------------------------------------------------------
لا اله الا الله

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

بتاريخ:

ORA-30510 system triggers cannot be defined on the schema of SYS user



Cause: An attempt was made to define a system trigger on the schema of SYS user. This type of trigger is not supported currently.

Action: Do not attempt to create a system trigger defined on the schema of SYS user



---------------

ذى ما هو موضح بتعريف الخطاء ، أن هذا النوع من ال Triggers ال ( system trigger ) غير مدعم حالياً لتنفيذه بأسكيمة ال SYS ... و ال Action اللى مفروض انك تعمله هو عدم محاولة تكرار صنع هذا النوع من التريجر مرة اخرى بأسكيمة ال SYS .

و الله أعلم .

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

شكرا يا استاذ هانى بس برضه كنت عاوز اعرف

لماذا لا يتم عمل trigger في sys schema

يعنى ايه السبب في كده


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

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

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

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

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

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

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.