detecting SQL system - Mailing list pgsql-jdbc

From John R Pierce
Subject detecting SQL system
Date
Msg-id 025a01c4a13e$8459f9f0$0200a8c0@hogranch.com
Whole thread Raw
In response to Detecting SQL_ASCII databases  (Oliver Jowett <oliver@opencloud.com>)
Responses Re: detecting SQL system  (Oliver Jowett <oliver@opencloud.com>)
List pgsql-jdbc
One of the Java developers in my group asked me today if there was any
reliable and portable way he could query JDBC to find out what database he
was connected to, Postgres vs Oracle vs TimesTen vs ???

So, I'm curious, are there any SQL standard methods of doing this?  Is the
information_schema any part of the standard, i.e. could we

SELECT character_value FROM information.schema.sql_implementation_info
    WHERE implementation_info_name = 'SERVER NAME';

?

Or do we have to poke around at each of these DBMS servers and figure out
whats unique about them ?


pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: Detecting SQL_ASCII databases
Next
From: Oliver Jowett
Date:
Subject: Re: detecting SQL system