Oracle Database Backup single table, export operations

Table backup sql:

create table table_name_bak as select * from table_name;

Description: create table 'need for new backup table name' as select * from 'to be backed up table';

 

 

Export from the source database:

exp userid=user1/pwd@server1 file=c:\temp\exp.dmp tables=(table1, table2)

Description: exp  the userid = username / password @ database instance path name a few derived tfile = filename ables = (data of Table 1, the data in Table 2) - a single table derived

 

Imported into the target database:

imp userid=user2/pwd@server2 file=c:\temp\exp.dmp tables=(table1, table2)

Description: IMP the userid = username / password database name @ import file = import file path and the file name where the tables = (data of Table 1, the data in Table 2)

Guess you like

Origin www.cnblogs.com/TengQiuli/p/12442828.html
Recommended