Jeff Urlwin wrote: > See the DBI and ODBC docs for get_info (which maps to ODBC's SQLGetInfo,
> which may help (and may not), but can't you tell by the DSN? > As a follow-on to Jeff's suggestion, the SQLGetInfo call can get 'server name' and 'database name' (plus many other properties) about the data source. But you will need to dig into ODBC API doc or HELP file to get the named constant needed to request these properties. The sql.h or sqlext.h 'C' header files are then used to get integer value for the named constant, e.g. the named constant, SQL_SERVER_NAME, is 13. Bill
