Subject Re: [firebird-support] how to find out whether the server runs under Win or Linux in SP
Author Ivan Cruz
Thomas Beckmann wrote:

>Hi,
>
>I would like to decide whether the server is running under Windows or
>Linux-Environment in (or by) a stored procedure. I guess, I could
>explore the value of "version" - but how do I access that?
>
>Any hints appreciated!
>
>

As far as I know, the only way to get server version info is through
the services API:
http://www.ibphoenix.com/main.nfs?a=ibphoenix&s=1101411699:360390&page=ibp_60_api_iscsq_fs

May be you can write a UDF that calls back the Firebird, but I
don't know it is possible.

Ivan.