Subject Re: [firebird-support] How can I read full path from alias?
Author Ivan Prenosil
>> 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

Or using API call

isc_database_info(...)

requesting isc_info_db_id.

> 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.

The same is true for API.

Ivan
http://www.volny.cz/iprenosil/interbase/