Quantcast
Channel: Teradata Developer Exchange - All blogs
Viewing all articles
Browse latest Browse all 136

How to determine or switch the current database using the Teradata JDBC Driver

$
0
0

Question

We can establish a JDBC Connection with URL that specifies a database name, e.g.

jdbc:teradata://<some host>/DATABASE=<some database>

After the Connection is opened, is there any way to determine what database is in use? And is there any way to switch to a different database?

Answer

read more


Viewing all articles
Browse latest Browse all 136