Oracle oem statements

Source: Internet
Author: User

OEM:
Http: // full computer name: 5500/em/

Sys/
System manager
Scott tiger
1. Forget the logon password of a user except SYS and SYSTEM.
Log On As a sys (or SYSTEM) user.
Conn sys/PASS_WORD as sysdba;
Use the following statement to modify the user password.
Alter user user_name identified by newpass;
Table integrity:
1. entity integrity-UK ensures the uniqueness of data from the database perspective (unique constraint)
2. Domain integrity-PK
3. Integrity-FK
Constraints:
Primary key constraint: PK

Foreign key constraint: FK

CHECK constraints: (within a certain range)
For example
Alter table emp add constraint ch_emp_sex CHECK (sex = 'male' or sex = 'female ');
SQL> desc dba_constraint;
SQL> desc all_constraint;
SQL> desc user_constraint;
Dba_views/all_views/user_views

Non-empty constraint:
NOT NULL


Author: hunter090730

Related Article

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.