Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Mon, 16 Oct 2006 @ 22:52:27 GMT


     
  <Prev Next>   <<First <Prev Next> Last>>  


Subj:   Re: JDBC connection with Teradata
 
From:   Takahashi, Takashi

I would strongly recommend to set the session character set in your connection string and make sure your Java (Unicode) application handles Unicode.

     static Connection con;
     String url = "jdbc:teradata://system/CHARSET=UTF8";
     con = DriverManager.getConnection (url, "test", "test");

The default session character set (i.e. "ASCII") can be used only for 7-bit ASCII characters.



     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023