[askdba] Re: oracle sid

  • From: Chirag DBA <chiragdba@xxxxxxxxx>
  • To: "Allen, Brandon" <Brandon.Allen@xxxxxxxxxxx>
  • Date: Wed, 7 Sep 2005 16:58:34 -0400

WOW..
 This works preety fine.
 $ ORACLE_SID=admdevs4;export ORACLE_SID
$ echo $ORACLE_SID
admdevs4
$ ksh
$ echo $ORACLE_SID
admdevs4
$ export ORACLE_SID=admdev
$ echo $ORACLE_SID
admdev
$ exit
$ echo $SHELL
/bin/sh
$ echo $ORACLE_SID
admdevs4
$ export ORACLE_SID=admdev
ORACLE_SID=admdev: is not an identifier
$

I donno much abt Shells and Unix. But seems need to dig those things.
 Regards - Chirag
 On 9/7/05, Allen, Brandon <Brandon.Allen@xxxxxxxxxxx> wrote: 
> 
> I don't know for sure but it seems likely due to the shell difference - 
> I'm using ksh and the "export VARIABLE=value" syntax works fine for me. Try 
> running ksh first and then see if it works for you.
>    
> -----Original Message-----
> *From:* Chirag DBA [mailto:chiragdba@xxxxxxxxx]
> *Sent:* Wednesday, September 07, 2005 1:49 PM
> *To:* Allen, Brandon
> *Cc:* Kurth, Michael J.; Oracle-L Freelists; askdba@xxxxxxxxxxxxx
> *Subject:* Re: oracle sid
> 
> $ echo $SHELL
> /bin/sh
>  And this really worked Allen. But it should also work with simple export 
> command.
>  Why it is not working?
>  Thank you... 
> 
>  On 9/7/05, Allen, Brandon <Brandon.Allen@xxxxxxxxxxx> wrote: 
> > 
> > Not sure what the problem is there, but see if this works:
> >  $ ORACLE_SID=admdevs4;export ORACLE_SID
> >  
> > 
> >

Other related posts: