Re: Import and Export

From: Alistair Thomson <thomson_alistair_at_no.spam.yahoo.co.uk>
Date: Mon, 13 Jan 2003 14:08:01 -0000
Message-ID: <avuh7u$3fe$1$830fa78d_at_news.demon.co.uk>


Yes that will work fine. Type exp help=y to get a list of parameters you can use. Many of the options you've shown are set to Y as default and don't need to be specified.
 
Alistair
"Robert Vabo" <rvabo_at_msn.com> wrote in message news:3e22aed8$1_at_news.wineasy.se...
I want to run a command via code (.NET) that exports and imports databases.
 
One way is to use the exp command with a parameter file. Is it possible to run the exp command using parameters but not putting these parameters in a file ?
NOW : exp username/password_at_instance PARFILE=d:\expParams.txt
I want to do something like this : exp username/password_at_instance FILE=d:\data\Base.dmp OWNER=username GRANTS=Y INDEXES=Y CONSISTENT=Y CONSTRAINTS=Y
 
Is this a method that will work ?

--
Regards
Robert Vabo
Gecko AS
www.gecko.no
Received on Mon Jan 13 2003 - 15:08:01 CET

Original text of this message