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

أوامر ال SQL

Featured Replies

بتاريخ:

﴿SQL * PLUS :rolleyes

 

 

- SQL *PLUS: = is an Oracle Tool that lets you access the database structure directly.

It can let you:

1-Build Tables, indexes.

2-Execute Queries.

3-Up date Database Objects, etc.

SQL *PLUS: Enter your user name and SQL *PLUS will display the prompt "Enter password:"

Using (SCOTT as a username) and (TIGER as a password)

Then SQL *PLUS will display its prompt:

SQL>.

 

1-Creating a Table: = to create a table in an ORACLE database use the

CREATE TABLE table_ name:

 

(Column name type (size) [Null / Not Null],

Column type (size) [Null / Not Null]...);

*Example:-

 

Create table

To see a description of the my_emp table

 

 

*How to create a table from other table:-

 

SQL>create table DEPT 30

As select EMPNO, ENAME, SAL from MY_EMP where DEPTNO=30;

Create table

*To see the description of dept30, enter:

 

 

 

2- Altering a Table: - Use the Altering Table command to change the definition of a table.

*Alter Table can do:

 

1-Add

2-Modify

 

 

For example: =

 

Alter table

 

 

 

 

 

 

3-Rename a Table:- To Rename a database object ,the syntax is :

(RNAME old TO new)

Example: SQL>Rename my_emp to B4cse;

 

 

4-Dropping a Table: Mean Delete a Table;

 

Example:- SQL>Drop table my_emp;

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

يسلمو مشكور حبيبي

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

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

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

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

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

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.