Subject | Re: [firebird-support] How can I read full path from alias? |
---|---|
Author | Ivan Prenosil |
Post date | 2007-01-11T23:14:38Z |
>> I have defined in fb aliases.conf database like:Or using API call
>> 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
isc_database_info(...)
requesting isc_info_db_id.
> But you won't get the full path for an alias connection if you have setThe same is true for API.
> the configuration parameter DatabaseAccess in firebird.conf to None.
Ivan
http://www.volny.cz/iprenosil/interbase/