Re: As SYSDBA from Exp cmd line

From: Rauf Sarwar <rs_arwar_at_hotmail.com>
Date: 1 Aug 2002 11:16:27 -0700
Message-ID: <92eeeff0.0208011016.14b6efb6_at_posting.google.com>


"Matt Goyer" <mgoyer_at_fairtunes.com> wrote in message news:<3d494263_1_at_news.newsgroups.com>...
> I want to automate doing a tablespace export from a script. I'm using Oracle
> 8i and it's running on Solaris 8. The problem is that 'exp' is incorrectly
> parsing my command line parameters (namely the username & password):
>
> exp sys/****_at_oradev as sysdb
>
> LRM-00108: invalid positional parameter value 'as'
>
> I've tried escaping the whole sequence with ' or " but neither seems to
> work.. ?
>
> Any insight appreciated,
> Matt
>
>
>
>
> -----------== Posted via Newsfeed.Com - Uncensored Usenet News ==----------
> http://www.newsfeed.com The #1 Newsgroup Service in the World!
> -----= Over 100,000 Newsgroups - Unlimited Fast Downloads - 19 Servers =-----

$ ORACLE_SID=oradev export ORACLE_SID
$ exp sys/password file=yourfile.dmp grants=....

For help with args use
$ exp help=y

HTH
//Rauf Sarwar Received on Thu Aug 01 2002 - 20:16:27 CEST

Original text of this message