Archives of the TeradataForum
Message Posted: Mon, 03 Jun 2002 @ 07:54:31 GMT
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.
|