Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Sat, 05 Apr 2003 @ 09:57:15 GMT


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


Subj:   Re: Server Connection
 
From:   Ashok_Kuruba

DriverManager.registerDriver(new com.ncr.teradata.TeraDriver());
conn = DriverManager.getConnection("jdbc:teradata://databasename",
"username","password");
stmt = conn.createStatement ();
rs = stmt.executeQuery ("SQL STATEMENT HERE");
while (rs.next())
      {
        System.out.println();
}
rs.close();
rs.close();


     
  <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