Subject Re: [firebird-support] environment variables in ddl/dml scripts
Author Helen Borrie
At 12:08 AM 4/05/2005 +1000, you wrote:
> >
> > You can just deploy aliases.conf with the database path preconfigured, e.g.
> >
> > phooey = /data/phooey.fdb
> >
> > Then, in your script:
> >
> > create database 'yourservername:phooey' ;
>
>Helen - thanks for that. In Windows, what is the server name?
>
>I'm looking at an XP machine having typed 'set' at the command prompt.
>In this case I have ...
>
> COMPUTERNAME=xyz
> USERDOMAIN=xyz
> LOGONSERVER=\\xyz
>
>Could I use '127.0.0.1:phooey' ??

Yes; or localhost, which resolves to 127.0.0.1. If using the remote
desktop interface, though, it will have to be the COMPUTERNAME or the host
machine's static IP address.

>You nzers stay up late

Or sleepwalk a lot. :-)

./hb