Subject Re: [firebird-support] Detecting Database Directory on Server
Author Helen Borrie
At 03:58 PM 17/04/2004 +0200, you wrote:
> > >Ok, once connected to the database, how can I get the real filename
> > >behind an alias?
> >
> > You can't and, for security reasons, you shouldn't try. Errrm, that's
> > actually part of why we have aliasing...
>
>As ibaccess can display the filename behind an alias it obviously is possible.

Several of the tools do it, mimicking the "registering" of a database that
is so maddening in IBConsole. The Windows ones store the paths in the
Registry. IBAccess is made with Kylix, so it probably uses a
TIniFile. The one thing they all have in common is that they don't get the
information from the database management system - because you can't. The
RDBMS manages its own on-disk space, it doesn't care about where it is in
the filesystem.

/hb