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

Featured Replies

بتاريخ:

السلام عليكم
يعطيكم الف عافية
السوال انا عندي جدوليين وبينهما علاقة اريد عندما ادخل على الجدول المسمى categories ان ينطلق
trigger ويقوم بتعبئة جدول العلاقة بينهما بحيث ياخذ الرقم الذي تم ادخالة من الجدول الاول ودخلة مع كل المعلةمات الموجودة في الجدول الثاني . فكتبة ال trigger التالي شو الخطا فية
create or replace trigger relation1_trig
after insert on categories
declare
record number;
cursor c1 is
select jobid
from jobs;
begine
for record in c1 loop
insert into relation1
values(catid,record);
end loop;
end ;

بتاريخ:

جرب هذا الكود

create or replace trigger relation1_trig
after insert on DEPT
declare
id number;
cursor c1 is select deptno from DEPT for update;
begin
for i in c1 loop
id := i.deptno;
insert into EMp(deptno) values(id);
end loop;
end;

بتاريخ:

أخي: ماهو الخطأ الذي ينتج عندك

بتاريخ:

Record is a reserved word

  • بعد 2 أسابيع...
بتاريخ:

اريد ان اعرف عدد ال coulemsالى في جدول relation1
لان المشكله في جمله insert

بتاريخ:

و بعدين
BEGIN تكتب هكذا
و ليس BEGINE

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

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

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

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

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

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.