Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 03 Jan 2007 @ 14:43:09 GMT


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


Subj:   Connect to Teradata from VB.Net
 
From:   Anomy Anom

<-- Anonymously Posted: Wednesday, January 03, 2007 09:39 -->

Hello,

Does anyone know the vb.net connection string used for connecting to a Teradata Database or indeed a reference where i could find out more. Google seems to be sparse enough.

I've integrated with SqlServer and DB2 before and for anyone interested the connection strings are as below.

     Thanks.? Dim frmMIS As New MIS? ? ? ? frmMIS.UserName.Text =
     UNameLogXML? ? ? ? frmMIS.Password.Text = PasswordLogXML
     frmMIS.Database.Text = DatabaseLogXML? ? ? ? frmMIS.Server.Text =
     ServerLogXML? ? ? ? frmMIS.Provider.Text = ProviderLogXML
     frmMIS.Protocol.Text = ProtocolLogXML? ? ? ? frmMIS.Port.Text =
     PortLogXML

     'cn = New SqlClient.SqlConnection("user id=" & UNameLogXML &
     ";password=" &

     PasswordLogXML & ";database=" & DatabaseLogXML & ";server=" &
     ServerLogXML)? ? ? ? DB2cn = New OleDb.OleDbConnection("Provider=" &
     ProviderLogXML &
     ";Database=" & DatabaseLogXML & ";HOSTNAME=" & ServerLogXML &
     ";PROTOCOL="
     &
     ProtocolLogXML & ";PORT=" & PortLogXML & ";uid=" & UNameLogXML & ";pwd="
     &
     PasswordLogXML)

Regards



     
  <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: 27 Dec 2016