Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Rollback force for distributed transactions Oracle
  • To check whether standby is recovering properly or not?? Oracle
  • Changing default shell Linux/Unix
  • Recovering lost SYS password Oracle
  • Monitor Long Running Job Oracle
  • Backup and Recovery Scenarios Oracle
  • myfile Oracle
  • restarting network in linux Linux/Unix
  • Transfer SQL Profiles from One database to other database. Oracle
  • Configure ssh authentications for RAC Oracle
  • Zip and unzip with tar Linux/Unix
  • Reading parameter file and printing Linux/Unix
  • Changing the Global Database Name Oracle
  • nfs mount command Linux/Unix
  • Adding a new disk and mount it automatically. on VMWARE LINUX Linux/Unix

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

  • UTL_FILE test program Oracle
  • Global Unique Identifier Generation in Oracle 9.2 SYS_GUID() Oracle
  • Find all users who have DML privileges Oracle
  • In Addition to previous note, following grants needed on PERFSTAT user. Oracle
  • Free conference number from http://www.freeconference.com Oracle
  • find_log_switch.sql Find log switches in graphical manner Oracle

Leave a Reply Cancel reply

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

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (342)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • DBMS_UTILITY PACKAGE Oracle
  • Find Stale DR Physical Standby Oracle
  • Histogram information Oracle
  • how to find VIP from ifconfig Linux/Unix
  • db_status.sql Oracle
  • How to Modify the statistics collection by MMON for AWR repository Oracle
  • SAN Linux/Unix
  • fdisk -l explaination about Primary-Logical-Extended Partitions Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme