Oracle additions and deletions--the increase

Source: Internet
Author: User
Oracle additions and deletions--the increase

1. Create new database user and set password create user username identified by password

2. Authorize DBA Grant DBA to user name for new user;

3, login authentication Feiyu user conn Feiyu;

4, CREATE TABLE (first cut to current user) CREATE TABLE table name (ID number (6) NOT null primary Key,id_username char (4));

5. Add data to Chengji table insert into table name values (' 2 ', ' wfy ');

6. Create a standard index named Cheng_index for the Id_username column under the Cheng table
Create index index name on table name (field name); (Field name is viewed first)

7, re-index alter the name rebuild;

Oracle additions and deletions--the increase

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.