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

create view in procedure

Featured Replies

بتاريخ:

السلام علييكم
هل من الممكن عمل
create or replace view
داخل البروسيجر او الفنكشن مثلا قمت بعمل التالي ولكن دائما يعطي خطا
create or replace view aa as
select e.empno,e.ename,d.dname from emp e,dept d where e.deptno = d.deptno;

الخطا دائما هو
encountered the symbol "create" when expecting one of the following degin declare ......
كيف يمكن حل هذا الخطا واذا انه غير ممكن كيف استطيع ان اعدل في الفيو من خلال البروسيجر بحيث اعيد بناءه حسب القيم التي تاخذها البروسيجر

وشكرا

بتاريخ:

You should specify the colums name of the view if a select statement is involved in you view

create or replace view aa ( employee_no , employee_name, department_name) as
select e.empno,e.ename,d.dname from emp e,dept d where e.deptno = d.deptno;

بتاريخ:

you cant do ddl commands in functions or procedures, do that by using forms_ddl if you are executing from forms developer or use execute immediate 'your statment', or use dbms_sql package

بتاريخ:

أخي الكريم:
You have to use this command to execute any DDL command inside a procedure:
execute immediate('create or replace ...');

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

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

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

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

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

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.