Subject | Re: How can I read full path from alias? |
---|---|
Author | Adam |
Post date | 2007-01-11T22:19:36Z |
--- In firebird-support@yahoogroups.com, Thomas Steinmaurer <ts@...>
wrote:
to some people, I would have thought an opt in approach would have
been better.
Adam
wrote:
>What about with restrict? While I imagine this feature would be useful
> Hello Paul,
>
> > I have defined in fb aliases.conf database like:
> > myDb=D:\Database\MyDb.FDB
> >
> > My connection is used like server:database!
> >
> > How can I get path for my alias?
>
> With:
>
> select
> rdb$get_context('SYSTEM', 'DB_NAME')
> from
> rdb$database
>
> But you won't get the full path for an alias connection if you have set
> the configuration parameter DatabaseAccess in firebird.conf to None.
>
to some people, I would have thought an opt in approach would have
been better.
Adam