Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Unix split command to split files Linux/Unix
  • Disbaling DBA_SCHEDULER_JOBS Oracle
  • plan10g.sql Oracle
  • 339939.1 Running Cluster Verification Utility to Diagnose Install Problems Oracle
  • executing Function from SQLPLUS prompt Oracle
  • find_log_switch.sql Find log switches in graphical manner Oracle
  • Validating ORACLE_SID againt oratab file. Linux/Unix
  • scp with ssh2 Linux/Unix
  • oracle Dba site Oracle
  • kill all processes from specific user in solaris. Linux/Unix
  • Transfer SQL Profiles from One database to other database. Oracle
  • default permission on ~/.ssh/authorized_keys2 or authorized_keys Linux/Unix
  • Database link password in user_db_links Oracle
  • proper cpu stats Linux/Unix
  • find_open_cur.sql Find open cursorts per session Oracle

export import with parameter file.

Posted on 15-Mar-2007 By Admin No Comments on export import with parameter file.

Export with parameter file and import with same.

===============================================

Task : I am exporting some tables from CS and importing thsoe tables into BASKET schema.

/**************************************************** FILE NAME: exp_wo_data.par *******************/

userid=cs

file=exp_bskt_15MAR07.dmp

compress=N

grants=N

log=bskt_exp_15MAR07.log

ROWS=N

triggers=N

statistics=NONE

tables=(BSKT_AGENT_BASKET_CALL_DETAIL

, BSKT_AGENT_ORDER_NOTE

, BSKT_BASKET_ITEM_TYPE

, BSKT_DISCOUNT_APPLY_TYPE

, BSKT_DISCOUNT_REASON

, BSKT_ITEM_CALC_PRICING

, BSKT_ITEM_PRICING_XREF

, BSKT_ITEM_SUB_PRODUCT

, BSKT_PAYMENT_DETAIL

, BSKT_PAYMENT_METHOD_TYPE

, BSKT_PERSONALIZATION

, BSKT_PERSONALIZATION_STYLE

, BSKT_PRICE_ELEM_MSG_TYPE

, BSKT_PRICING_ELEMENT

, BSKT_PRICING_ELEMENT_MSG

, BSKT_PRICING_GROUP_TYPE

, BSKT_PRICING_TYPE

, BSKT_PRICING_VALUE_TYPE

, BSKT_PRIC_TYP_PRIC_GRP_XREF

, BSKT_RECIPIENT

, BSKT_RECIPIENT_MESSAGE

, BSKT_SESSION

, BSKT_SESSION_ATTRIBUTE_TYPE

, BSKT_SHOPPING_BASKET

, BSKT_SHOPPING_BASKET_ITEM

, BSKT_SHOPPING_BASKET_STATUS

, BASKET_ITEM_INVENTORY_XREF,

, AGENT_BASKETS

)

/*************************** Export command ********************************/

exp parfile=exp_wo_data.par

/***************************************** Import with parameter file, file name : imp_wo_data.par *******/

userid=basket

file=exp_bskt_15MAR07_wo_data.dmp

grants=N

log=imp_bskt_15MAR07_wo_data.log

ROWS=N

statistics=NONE

fromuser=CS

touser=basket

/************************************** Import command *******************/

imp parfile=imp_wo_data.par

Oracle, SQL scripts

Post navigation

Previous Post: chk_space_SID.ksh
Next Post: How to Use DBMS_STATS to Move Statistics to a Different Database

Related Posts

  • Wait.sql Oracle
  • Another export with Query Oracle
  • SQLPLUS COPY command Precautions. Oracle
  • AWR license Oracle
  • findx.sql /* Find Indexes on specified USER.TABLE_NAME */ Oracle
  • Find Multiple levels of object dependencies : depen.sql Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (388)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (337)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024
  • Reading config file from other folder inside class24-Sep-2024
  • Python class import from different folders22-Sep-2024
  • Transfer SQL Profiles from One database to other database.05-Sep-2024
  • Load testing on Oracle 19C RAC with HammerDB18-Jan-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Renaming the column name Oracle
  • Read CSV File using Python Python/PySpark
  • Changing unix system clock when Oracle database is running. Oracle
  • oracle_env_10g_CADEV Linux/Unix
  • age_alert.ksh aging out alert.log Linux/Unix
  • Find sort details from Db find_sort.sql Oracle
  • create database link syntax Oracle
  • Export Oracle data and Compress at same time Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme