Home Page for the TeradataForum
 
https:

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 Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 28 Jun 2020