Created
May 2, 2013 02:46
-
-
Save atulsingh0/5499817 to your computer and use it in GitHub Desktop.
JDBC connection with TeraData
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Class.forName("com.teradata.jdbc.TeraDriver"); | |
String connectionString = "jdbc:teradata://MyDatabaseServer/database=MyDatabaseName,tmode=ANSI,charset=UTF8"; | |
String user = "username"; | |
String passwd = "password"; | |
Connection conn = DriverManager.getConnection(connectionString, user, password); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment