Home Page for the TeradataForum
 
 

 

Archives of the TeradataForum





Message Posted: Mon, 03 Jun 2002 @ 07:54:31 GMT





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




Subj:   Re: dotNET & Teradata
 
From:   Anwar P



Both of the formats below work for me under ODBC.Net (Microsoft.Data.ODBC assembly).

With DSN :-

    OdbcConnection td_conn = new OdbcConnection(
                    "DSN=ddwdev;" +
                    "Uid=user1;"+
                    "Pwd=password1;");

Without DSN :-

    OdbcConnection td_conn = new OdbcConnection(
                    "Driver={Teradata};"+
                    "DBCName=node1.mycompany.com;" +
                    "Uid=user1;"+
                    "Pwd=password1;");

Looks like you are trying to use an invalid combination of connection options in your example below (specifying "Driver" with "DSN").

Anwar.





     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
 
  Top Home Join Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky 
Last Modified: 30 Jun 2008