Laurenz Albe
11/6/2007 9:00:00 AM
In comp.databases.postgresql Joe Stateson <jstateson@swri.edu> wrote:
> I wish to put the version numbers of various drivers in an about box for my
> web app. I can easily find the sql server version from a connection:
>
[...]
>
> However, there is no version for the odbc driver. I was expecting to see
> 8.02.0400 somewhere so I can see what version the Microsoft IIS has
> installed.
I don''t know about ODBC, but browsing the source of psqlODBC I see that
the driver version should be returned when you call SQLGetInfo
with SQL_DRIVER_VER (= 7) as second argument.
Does that help?
Yours,
Laurenz Albe