Examples of Oracle-related operations (export import DMP required)

Source: Internet
Author: User

Delete users: Drop user pnxd cascade;

Export DATA: Exp pnxd/[email protected] file=c:\bb.dmp full=y

Import data: Imp pnxd/[email protected] file=c:\bb.dmp ignore=y full=y

Created by: Create user pnxd identified by padmin

Assign permissions: Grant Connect,resource to Pnxd
Grant Dba:grant DBA to Pnxd

Rebuilding permissions for importing new databases

CREATE TABLE Space

CREATE tablespace p2p_nxd
LOGGING
DataFile ' D:\app\Stephen\product\11.2.0\dbhome_1\P2PNXD. DBF '
SIZE 32M
Autoextend on
NEXT 32M MAXSIZE 2048M
EXTENT MANAGEMENT LOCAL;

Create a sequence

Create sequence sequence name
MinValue 1maxvalue 99999999start with 1increment by 1
The sequence name. Nextval get a unique number


Create sequence T_sys_roles_seq
MinValue 1 MaxValue 999999999 start with 1 increment by 1

Examples of Oracle-related operations (export import DMP required)

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.