Collections:
Export Several Tables Together in Oracle
How To Export Several Tables Together in Oracle?
✍: FYIcenter.com
If you don't want to export the entire schema and only want to export several tables only, you can use the "expdp" command with the "TABLES" parameter as shown in the following tutorial exercise:
>cd \oraclexe\app\oracle\product\10.2.0\server\BIN >expdp hr/fyicenter TABLES=employees,departments DIRECTORY=hr_dump DUMPFILE=tables.dmp LOGFILE=tables.log Starting "HR"."SYS_EXPORT_TABLE_01": hr/******** TABLES=employees,departments DIRECTORY=hr_dump DUMPFILE=tables.dmp LOGFILE=tables.log Estimate in progress using BLOCKS method... Processing object type TABLE_EXPORT/TABLE/TABLE_DATA Total estimation using BLOCKS method: 128 KB Processing object type TABLE_EXPORT/TABLE/TABLE Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/CON... Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTI... Processing object type TABLE_EXPORT/TABLE/COMMENT Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/REF... Processing object type TABLE_EXPORT/TABLE/TRIGGER Processing object type TABLE_EXPORT/TABLE/STATISTICS/TAB... . . exported "HR"."DEPARTMENTS" 6.632 KB 27 rows . . exported "HR"."EMPLOYEES" 15.76 KB 107 rows Master table "HR"."SYS_EXPORT_TABLE_01" loaded/unloaded *********************************************************** Dump file set for HR.SYS_EXPORT_TABLE_01 is: C:\ORACLEXE\HR_DUMP\TABLES.DMP Job "HR"."SYS_EXPORT_TABLE_01" successfully completed
⇒ Error: Imported Table Already Exists in Oracle
⇐ Export Your Own Schema in Oracle
2016-10-15, 2521🔥, 0💬
Popular Posts:
How To Install Oracle Database 10g XE in Oracle? To install 10g universal edition, double click, Ora...
How To Count Rows with the COUNT(*) Function in SQL Server? If you want to count the number of rows,...
How To Create a Table Index in Oracle? If you have a table with a lots of rows, and you know that on...
How To Generate CREATE TABLE Script on an Existing Table in SQL Server? If you want to know how an e...
How to continue to the next iteration of a WHILE loop in SQL Server Transact-SQL? How to use CONTINU...