Home » RDBMS Server » Server Utilities » select table from dump
select table from dump [message #280005] Mon, 12 November 2007 04:51 Go to next message
alijeyan
Messages: 180
Registered: January 2007
Location: IRAN
Senior Member
I have a Dump file that create with User Option and consist all
User's Table .
How can I IMPORT one table from this export file ?

ALI
Re: select table from dump [message #280007 is a reply to message #280005] Mon, 12 November 2007 04:57 Go to previous messageGo to next message
Michel Cadot
Messages: 64098
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
C:\>imp help=y

Import: Release 10.2.0.3.0 - Production on Mon Nov 12 11:56:42 2007

Copyright (c) 1982, 2005, Oracle.  All rights reserved.



You can let Import prompt you for parameters by entering the IMP
command followed by your username/password:

     Example: IMP SCOTT/TIGER

Or, you can control how Import runs by entering the IMP command followed
by various arguments. To specify parameters, you use keywords:

     Format:  IMP KEYWORD=value or KEYWORD=(value1,value2,...,valueN)
     Example: IMP SCOTT/TIGER IGNORE=Y TABLES=(EMP,DEPT) FULL=N
               or TABLES=(T1:P1,T1:P2), if T1 is partitioned table

USERID must be the first parameter on the command line.

Keyword  Description (Default)       Keyword      Description (Default)
--------------------------------------------------------------------------
USERID   username/password           FULL         import entire file (N)
BUFFER   size of data buffer         FROMUSER     list of owner usernames
FILE     input files (EXPDAT.DMP)    TOUSER       list of usernames
SHOW     just list file contents (N) TABLES       list of table names
IGNORE   ignore create errors (N)    RECORDLENGTH length of IO record
GRANTS   import grants (Y)           INCTYPE      incremental import type
INDEXES  import indexes (Y)          COMMIT       commit array insert (N)
ROWS     import data rows (Y)        PARFILE      parameter filename
LOG      log file of screen output   CONSTRAINTS  import constraints (Y)
DESTROY                overwrite tablespace data file (N)
INDEXFILE              write table/index info to specified file
SKIP_UNUSABLE_INDEXES  skip maintenance of unusable indexes (N)
FEEDBACK               display progress every x rows(0)
TOID_NOVALIDATE        skip validation of specified type ids
FILESIZE               maximum size of each dump file
STATISTICS             import precomputed statistics (always)
RESUMABLE              suspend when a space related error is encountered(N)
RESUMABLE_NAME         text string used to identify resumable statement
RESUMABLE_TIMEOUT      wait time for RESUMABLE
COMPILE                compile procedures, packages, and functions (Y)
STREAMS_CONFIGURATION  import streams general metadata (Y)
STREAMS_INSTANTIATION  import streams instantiation metadata (N)

The following keywords only apply to transportable tablespaces
TRANSPORT_TABLESPACE import transportable tablespace metadata (N)
TABLESPACES tablespaces to be transported into database
DATAFILES datafiles to be transported into database
TTS_OWNERS users that own data in the transportable tablespace set

Import terminated successfully without warnings.

Do you see the TABLES keyword?

By the way, export/import are not database backup.

Regards
Michel

[Updated on: Mon, 12 November 2007 04:57]

Report message to a moderator

Re: select table from dump [message #280015 is a reply to message #280007] Mon, 12 November 2007 05:35 Go to previous messageGo to next message
alijeyan
Messages: 180
Registered: January 2007
Location: IRAN
Senior Member
ThanQ Michel .
Your Post very good for Me .

ALI
Re: select table from dump [message #280234 is a reply to message #280005] Mon, 12 November 2007 22:07 Go to previous messageGo to next message
Arju
Messages: 1554
Registered: June 2007
Location: Dhaka,Bangladesh. Mobile:...
Senior Member

If you can't recall table name then with imp show=y parameter is there to help you. Razz
Re: select table from dump [message #280310 is a reply to message #280234] Tue, 13 November 2007 03:03 Go to previous message
alijeyan
Messages: 180
Registered: January 2007
Location: IRAN
Senior Member
Thank Arju
My problem is resolved .
ALI
Previous Topic: Exports
Next Topic: Create schema & load data via XML files
Goto Forum:
  


Current Time: Fri Dec 02 12:27:59 CST 2016

Total time taken to generate the page: 0.11184 seconds