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

بتاريخ:

أنا مبتدا في الoracle وأحضرت كتاب في SQL ومع الكتاب قاعدة بيناتات لم أعرف كيف أضيفها للأوراكل كي أعمل عليها.
أرجوا المساعدة في شرح كيفية تحميل القاعدة. وشكرا

تم تغيير عنوان الموضوع لديل على محتواه , راجع شروط الكتابه في المنتدي
إداره المنتدي

Labs.zip

بتاريخ:

اخى الكريم
انت بصدد انشاء مستخدم جديد User او بمعنى ادق Schema
ولانجاز ذلك وجب عليك تنفيذ الامر التالى

Create user labs identified by labs;



ثم

Grant dba to labs;



وذلك بعد الاتصال بقاعدة البيانات بالمستخدم System

والخطوة التالى هى انشاء الجداول والعناصر الاخرى (وهو ما يمكن ان تسميه قاعدة البيانات)

ملاحظة الملف المرفق لا يعمل

مع تحياتى
اسامه سليمان
القاهرة

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

السلام عليكم.
شكرا لك أخي أسامة على التعقيب، وأرجوا من الله عز وجل أن يصلح لك أمور دينك ودنيانك. وقد فعلت ما ذكرته ولست أدري ماذا بعد.
لقد أرفقت نسخة أخرى من الكود وتكون سليمة ان شاء الله.
أرجوا الرد جزاكم الله خيرا.

Labs_new.zip

بتاريخ:

وعليكم السلام ورحمة الله وبركاته،،

i think your problem was already mentioned by Osama Soliman @ the following link
Click Here
because your attachment is talking about creating the hr "Human Resource" Schema

,any way
(u can either go through previous link to create this schema (hr database tables
OR
.. u have to run the following scripts in your ...\Labs\files directory
but u must create the hr user 1st in the same way u create the labs user

Create user hr identified by hr


Grant connect, resource to hr


CONNECT hr/hr


then run the following scripts after u login as hr user
1. hr_cre.sql
2. hr_idx.sql

so the 1st script will create your schema objects
COUNTRIES TABLE
DEPARTMENTS TABLE
EMPLOYEES TABLE
EMP_DETAILS_VIEW VIEW
JOBS TABLE
JOB_GRADES TABLE
JOB_HISTORY TABLE
LOCATIONS TABLE
REGIONS TABLE

Except the Red 1
i think u should create it manually 4 practice

the 2nd one will create some indexes for some specific columns
but i think its better that u create it manually also 4 your practice

iam sorry if i couldn't right in arabic - supporting problem

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

بتاريخ:

,by the way
if u already installed Oracle9i
the previous user/schema "hr" is already exist, but locked
to unlock this account, connect as sysdba

CONN / as sysdba


then unlock the hr account

ALTER USER hr ACCOUNT UNLOCK;


change hr account password

ALTER USER hr IDENTIFIED BY hr;


then try to connect as hr

CONN hr/hr

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

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

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

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

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

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

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.