Subject | Re: [firebird-support] server version |
---|---|
Author | Paul Vinkenoog |
Post date | 2013-02-03T00:58:01Z |
Hello Hugo,
Many clients (e.g. FlameRobin) can also give you this information without having to connect to a database first.
Or, from the OS command prompt:
Hope this helps,
Paul Vinkenoog
> Is there a way to determine which version of Firebird is running before connection to a Database?From within your application, you can connect to the Services Manager and then call isc_service_query(), specifying isc_info_svc_server_version in the request buffer. This is documented in the IB6 API Guide.
Many clients (e.g. FlameRobin) can also give you this information without having to connect to a database first.
Or, from the OS command prompt:
> fbsvcmgr [hostname:]service_mgr -user <username> -password <password> -info_server_versionThis requires Firebird 2.1 or higher on the client machine.
Hope this helps,
Paul Vinkenoog