Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Standby Database File Management in 10g with STANDBY_FILE_MANAGEMENT Oracle
  • Absolute file number and relative file number Oracle
  • move_arch_files.ksh /* Good One */ Linux/Unix
  • Oracle 10g Wait Model Oracle
  • Find_stale_dr.sql finding stale physical DR.. Oracle
  • Move WordPress site from one hosting service to other. PHP/MYSQL/Wordpress
  • Validating ORACLE_SID againt oratab file. Linux/Unix
  • PLSQL Table Syntax 1 Oracle
  • Load SPM baseline from AWR Oracle
  • to see when crontab is changed. Linux/Unix
  • Oracle Standby Database Library Index from Metalink Oracle
  • How to Decide upto what level you can decrement your datafile size. ( Shrink Datafile) Oracle
  • Jai Shree Ram Oracle
  • How does one overcome the Unix 2 Gig file limit? Linux/Unix
  • get_ratio.sql get the ratio of users from v$session and this uses CASE-WHEN-THEN clause 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

  • tblwopk.sql tablewopk.sql Oracle
  • Rollback force for distributed transactions Oracle
  • sesswait.sql Oracle
  • executing Function from SQLPLUS prompt Oracle
  • Error Handling in Proc Oracle
  • lck.sql Oracle

Leave a Reply Cancel reply

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

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (400)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (348)
  • SQL Server (6)
  • Uncategorized (3)
  • Videos (0)

Recent Posts

  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026
  • Creating a Container Database using dbaascli08-Apr-2026
  • track_autoupgrade_copy_progress.sql01-Apr-2026
  • refre.sql for multitenant01-Apr-2026
  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • get_vmstat.ksh for Solaris Oracle
  • FGA Part-I Oracle
  • Reading config file from other folder inside class Python/PySpark
  • To seee semaphores and shared memory segments in Solaris Linux/Unix
  • Linux CPU info. Linux/Unix
  • Set Role explaination. Oracle
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • How to Decide upto what level you can decrement your datafile size. ( Shrink Datafile) Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme