Using Oracle
Some basic information on using an Oracle database.Command line client
Syntax to load the client to connect to a local database:$ sqlplus <user> [as <role>]
$ sqlplus sysuser as sysdba
Exporting data to a dump file
For example:$ exp bizcubed/bizcubed file=/backup/oracle/dumpfile.dmp tables=abc.def query=\"where COL_NAME \>= \'109001\'\" rows=yes
Importing data dumps
$ imp Import: Release 10.2.0.1.0 - Production on Mon Jun 22 16:56:45 2009 Copyright (c) 1982, 2005, Oracle. All rights reserved. Username: sysuser as sysdba Password: Connected to: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production Import file: expdat.dmp >
. importing PROD's objects into PROD "ALTER SESSION SET CURRENT_SCHEMA= "PROD"" IMP-00003: ORACLE error 1435 encountered ORA-01435: user does not exist IMP-00000: Import terminated unsuccessfully
Resources
Tools
on 25/06/2009 at 15:13