;..." but you'd need to append any relevant option..." />
 
Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 17 Mar 2006 @ 13:42:15 GMT


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


Subj:   Re: Sample odbc application
 
From:   Fred W Pluebell

Assuming you have defined a system (or possibly user) DSN "teracon" via ODBC control panel, and want to use that to connect: your connection string should specify "DSN=teracon;..."

Provider= should be allowed to default to MSDASQL for use of ODBC via ADO, Driver= is not used with DSN, Server= is not used by the Teradata driver. If you didn't want to set up a DSN, you could use "Driver={Teradata};DBCName=<hostname or IP address>;..." but you'd need to append any relevant option settings (that otherwise would be set via the ODBC DSN configuration dialog) to the connection string - see the manual for Terdata ODBC Driver.

However, if you are using ADO, why not install and use the Teradata OLEDB Provider (Provider=TDOLEDB) instead?



     
  <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