Subject | Re: Server Name |
---|---|
Author | Adam |
Post date | 2006-05-03T23:33:19Z |
--- In firebird-support@yahoogroups.com, "Adam" <s3057043@...> wrote:
application must know the servername before connecting to it anyway,
so perhaps you don't need this.
Adam
>and FB
> --- In firebird-support@yahoogroups.com, "Roberto Freitas"
> <solanofreitas@> wrote:
> >
> > Hello,
> > How can I know the server name (inside a trigger) using Windows
> > 1.5? (I mean know inside a trigger the name of the computer that isBy the way, why would you need this information? The client
> > running FB 1.5).
> >
>
> 1) Create a UDF
>
> There are API calls in Windows at least to get the current machine
> name etc.
>
> - OR -
>
> 2) Create a table and manually store it in there.
>
> Believe it or not that is often a 'good enough' solution.
>
> Adam
>
application must know the servername before connecting to it anyway,
so perhaps you don't need this.
Adam