开发者

JDBC and ODBC backend information

开发者 https://www.devze.com 2023-02-11 13:15 出处:网络
If I am given the JDBC and ODBC from a site and they aren\'t giving me what database in the backend they\'re using (MySQL, PostgreSQL, SQLServer). Is there a way to know ab开发者_运维百科out this info

If I am given the JDBC and ODBC from a site and they aren't giving me what database in the backend they're using (MySQL, PostgreSQL, SQLServer). Is there a way to know ab开发者_运维百科out this information?


You could manually compare against the examples in ODBC connection strings or JDBC connection strings

Or you could try some queries against standard tables in each RDBMS type. E.g. select 'x' from dual; with a result indicating (but not proving) that its an Oracle DB.

0

精彩评论

暂无评论...
验证码 换一张
取 消