Quantcast
Channel: Teradata Downloads - Connectivity
Viewing all 445 articles
Browse latest View live

TERADATA 13.10 / 14.0 ODBC driver on Redhat 6

$
0
0

Hello,
I am trying to install teradata 13.10 on RHEL6 server. We have RHEL 6.1 with UnixODBC-2.2.14-12.el6_3.x86_64. Drivers were downloaded from teradata website and were installed in following sequence :
1. TeraGSS
2. tdicu
3. tdodbc
ODBC.INI configured and env variable was pointed to the location. 
There were some softlinks that were pointing to the wrong file, those were corrected. 
e.g /usr/lib64/libodbc.so was pointing to a wrong patch ofter the install (probably because the rpm package for todbc has some inbuilt default path for location of these files)
 
Issue : SAP Business Objects application core dumps when trying to use teradata odbc connection. ISQL testing shows Segmentation Fault and creates a core dump. 

(gdb) backtrace

#0  0x0000000000000000 in ?? ()

#1  0x00000038e484359c in ?? () from /usr/lib64/libodbc.so.2

#2  0x00000038e4843a3b in ?? () from /usr/lib64/libodbc.so.2

#3  0x00000038e481d76b in ?? () from /usr/lib64/libodbc.so.2

#4  0x00000038e480ef51 in ?? () from /usr/lib64/libodbc.so.2

#5  0x00000038e480fbcd in SQLConnect () from /usr/lib64/libodbc.so.2

#6  0x00000000004037e9 in ?? ()

#7  0x000000300be1ecdd in __libc_start_main () from /lib64/libc.so.6

#8  0x00000000004015d9 in ?? ()

#9  0x00007fff933d5a38 in ?? ()

#10 0x000000000000001c in ?? ()

#11 0x0000000000000003 in ?? ()

#12 0x00007fff933d74d2 in ?? ()

#13 0x00007fff933d74d7 in ?? ()

#14 0x00007fff933d74da in ?? ()

#15 0x0000000000000000 in ?? ()

 

I am not sure if unixODBC version is causing this.

 

Can somebody help figuring out what the issue is ?

 

Thanks and Regards

Nainesh

Forums: 

Connection String Basics, VBA to Teradata SQL Assistant

$
0
0

I'm trying to write VBA code that will allow me to run a macro in Microsoft Excel 2007 that connects to Teradata SQL assistant (version 13.10), runs SQL (it says ODBC, if that is meaningful), and brings back the results to Excel.  I've spent a few hours looking around on the internet for how to do this and discovered that it is done via connection strings.  Unfortunately, I am a bit out of my depth with this, and don't know how to create a connection string that properly connects to the SQL database.  I've developed the following VBA code:
 

Sub RunSQL()

 

Dim UserID As String

Dim Pass As String

 

    UserID = InputBox(Prompt:="Enter your User ID.")

    Pass = InputBox(Prompt:="Enter your Password.")

    

Dim strConn As String

strConn = "Provider=SQLOLEDB.1;Persist Security Info=True;Data Source=OSWSQLP01;Integrated security=SSPI;Initial Catalog=AEDWPROD;User ID ="& UserID & ";Password="& Pass

 

 

Dim Query As String

Query = "select * from DB_WRK_ACT.CERF_datevar"

 

Dim rs As New ADODB.Recordset

 

rs.Open Query, strConn

 

Sheet1.Range("A1").CopyFromRecordset rs

 

'

End Sub

 

 

However, when I run this code I get the error message that login failed for my user ID (at the rs.Open step).  This leads me to believe that my connection string is close to being correct, but is either missing something or using the incorrect provider and/or data source.  I'm not experienced enough to identify what I'm missing, and I stole the provider/data source from someone else's excel file and am not sure they are correct.

 

My questions are:

 

1. Is my connection string structured correctly, or am I missing/including something I shouldn't be?

 

2. How can I find out what the correct provider/data source fields to use are? (e.g. if SQLOLEDB.1 is the correct provider, how would I find that out for myself?

 

Thank you!

Forums: 

ODBC access from Excel to Teradata, table restriction

$
0
0

I have some problems accessing Teradata from EXCEL with a ODBC driver.
The Teradata database BASE_A, has user access restriction set on the base itself.
Here I can setup the ODBC driver so that I get access to BASE_A from Excel.
But I have another database BASE_B here the restriction is set on the tables inside the database, so that a user has access to BASE_B.Table_1, and BASE_B.Table_2, but not the BASE_B.Table_3, BASE_B.Table_4 and BASE_B.Table_5.
Is there a way to setup the ODBC driver so that it will allow access for such a user to the BASE_B?
Br
Peter Schwennesen

Forums: 

Newbie: Connecting Teradata, Access Sample Databe, Creating Users.

$
0
0

Hi,
Iam newbie to Teradata. I downloaded and installed Teradata Express database 13.0 (default setup) on my windows xp pro sp3 successfully.
Here I am little bit confusing what are the username/password to connect in SQL Assistant. How to connect samples in SQL Assistant.?
Do I need configure any thing like system variables.. and modify host files? some where I saw. (hopefully it doesnot require.).
1). What is database name of teradata? (In oracle "orcl" if we do not change the database name).
2). How to connect to admin and create users.
3). How to connect to sample schema (like scott/tiger in oracle. what are the credentials?) ?.
is there any document to go through.. I mean not a 1000 pages book... just to overview of that....
 
Help would be appreciable.
Thanks.
SRI.

Forums: 

No suitable driver found for jdbc issue even after downloading the teradata v 14 jdbc drivers

$
0
0

Hi,
I am trying to connect to Teradata (13.10.06.01) from a Java application (Rational Software Architect). I have tried with both the version 14 and 13 JDBC drivers from the below site but still no luck.
http://downloads.teradata.com/download/connectivity/jdbc-driver
Can one of you please help me? Below are the code and error messages.
package com.target.gdas.dds;
 
import java.sql.*;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
 
public class EDWDAO {
public static void main(String[] args) {
// EDWDAO edwDAO = new EDWDAO();
try {
EDWDAO.getConnection();
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (InstantiationException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IllegalAccessException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (ClassNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
private static Connection conn;
 
public static Connection getConnection() throws SQLException, InstantiationException, IllegalAccessException, ClassNotFoundException
{
Class.forName("com.teradata.jdbc.TeraDriver");
 
conn = DriverManager.getConnection("jdbc:teradata://databasename", "username", "password");
 
return conn;
}
public static ArrayList<String[]> queryADWDbDataBlock(String queryString) throws SQLException {
System.out.println("queryString::::"+queryString);
 
Connection conn = null;
ResultSet rs = null;
try {
conn = getConnection();
rs = doQuery(conn, queryString);
 
}
catch (SQLException e) {
e.printStackTrace();
}
catch (InstantiationException e) {
e.printStackTrace();
} catch (IllegalAccessException e) {
e.printStackTrace();
} catch (ClassNotFoundException e) {
e.printStackTrace();
}
//Convert the completed query to a format that can be used by the Excel Driver
ArrayList<String[]> dataBlock = DataHelper.rs2ArrayList(rs);
//This closes the result set and statement
conn.commit();
conn.close();
//Reformat MS Access Dates
dataBlock = MasterCalendarDAO.reformatAccessData(dataBlock);
 
return dataBlock;
}
 
public static ResultSet doQuery(Connection conn, String query) throws InstantiationException, IllegalAccessException, ClassNotFoundException, SQLException
{
 
Statement statement = conn.createStatement();
if (statement == null) {
System.out.println("ERROR: EDWDAO.doQuery()-Could not create the Query Statement");
return null;
}
 
ResultSet rs = statement.executeQuery(query);
System.out.println("statement.executeQuery(query):::"+statement.executeQuery(query));
 
if (rs == null) {
System.out.println("ERROR: EDWDAO.doQuery() Returned RecordSet is null");
}
conn.commit();
return rs;
 
}
}
Error Message:
java.sql.SQLException: No suitable driver found for jdbc:teradata:tdproda
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at com.target.gdas.dds.EDWDAO.getConnection(EDWDAO.java:35)
at com.target.gdas.dds.EDWDAO.main(EDWDAO.java:14)
 

Forums: 

Oracle OleDB Provider with OleLoad

$
0
0

Hello everyone - I have the Oracle 11g client and components installed but the Oracle OleDB Provider will not show up in the list of options in the OleLoad tool.  I have manually registered the oraoledbb11.dll file and complete the installation multiple times.  Has anyone ever used the Oracle OleDB provider before?

Forums: 

Need icu 13.10.00.01

$
0
0

Can someone provide the ICU Library 13.10.00.01?  I need to uninstall it but it won't unless it has the orginal tdicu.msi.  The closest one available for download is icu 13.10.00.02 but it doesn't work.

Forums: 

JDBC Connection from Oracle 11g Java Stored Procedure

$
0
0

When using a Java Stored Procedure from within the Oracle 11g database, an attempt to open a connection to Teradata using the JDBC driver version 14 throws the following error.
Exception in thread "Root Thread" java.lang.NullPointerException

at com.teradata.jdbc.jdbc_4.parcel.ClientAttributesParcel.<init>(ClientAttributesParcel.java:75)

at com.teradata.jdbc.jdbc.GenericLogonController.run(GenericLogonController.java:608)

at com.teradata.jdbc.jdbc_4.TDSession.<init>(TDSession.java:218)

at com.teradata.jdbc.jdk14.JDK14_SQL_Connection.<init>(JDK14_SQL_Connection.java:31)

at com.teradata.jdbc.jdbc.ConnectionFactory.constructSQLConnection(ConnectionFactory.java:106)

at com.teradata.jdbc.jdbc.ConnectionFactory.createConnection(ConnectionFactory.java:179)

at com.teradata.jdbc.jdbc.ConnectionFactory.createConnection(ConnectionFactory.java:169)

at com.teradata.jdbc.TeraDriver.doConnect(TeraDriver.java:232)

at com.teradata.jdbc.TeraDriver.connect(TeraDriver.java:158)

at java.sql.DriverManager.getConnection(DriverManager.java:583)

at java.sql.DriverManager.getConnection(DriverManager.java:187)

at TDTest.requestPriceDetails(TDTest:12)

 

The connection code is:

 

create or replace and compile java source named "TDTest" as

  // Required class libraries.

  import java.sql.*;

  import oracle.jdbc.driver.*;

  import oracle.aurora.util.*;

  import com.teradata.jdbc.*;

  

  public class TDTest {

    public static int requestPriceDetails(String anchor, Integer rc, Integer sg, String upc, Integer req_id) throws SQLException {

      com.teradata.jdbc.TeraDriver td = new com.teradata.jdbc.TeraDriver();

      

      String tdConnectionString = "jdbc:teradata://tddev1cop1.ngco.com";

      Connection tdConn = DriverManager.getConnection(tdConnectionString, "user", "password");

      return 0;

    }

  }

 

The same code works run using the Oracle JVM on the same server. Is there a parameter that needs to be passed in this JVM?

 

Chris

Forums: 

problem with ODBC drivers SQL assistant not working

$
0
0

Dear friends, my connection not working, please help me.
OS: windows 7 professional 64 bit
Teradata SQL assistant version: 12
ODBC Controller:
Name: Teradata  | Version: 12.00.00.00 | organization: NCR Corporation, Daytin OH |file: TDATA32.DLL | date: 01-06-2007 (2007-06-01)
 
thank you,
 
 

Forums: 

ODBC IM014: The DSN specified architecture mismatch between the driver and the application.

$
0
0

Hi,
I tried configure Teradata SQL Assistant, but said next error with tittle "Logon failed":
ODBC IM014: The DSN specified architecture mismatch between the driver and the application.
 
 
enviroment
teradata version: 12
windows 7 64 bit
 
please help me thank you so much
 
 

Tags: 
Forums: 

ODBC - decimal symbol

$
0
0

Hi all,
I'm importing data from Teradata database into MS Access database (Windows 7) using an ODBC driver. The decimal symbol is set to '.' (because the 'Use Regional Settings for Decimal Symbol' is unchecked in the ODBC driver options). The decimal symbol is different in OS (',') thus the import of decimal values is not correct.
I'm not allowed to change the ODBC settings. I can't change the decimal symbol setting in OS because of some other software.
Is it possible to override the ODBC driver setting - for example in the ODBC connection string?
Thank you for your help........
Jan

Forums: 

Enterprise Library Data Acccess Application Block Implementation using Teradata .Net Provider

$
0
0

Has anybody tried extending the Enterprise Libraray Data Access Application Block so that it works with the Teradata .Net Provider?
To get things up and running, my prototype extends the abstract Database class and passes TdFactory as a constructor argument..  

using System;
using Microsoft.Practices.EnterpriseLibrary.Data;
using Teradata.Client.Provider;

namespace Common.Database
{
    public class TeradataDatabase : Microsoft.Practices.EnterpriseLibrary.Data.Database
    {
        public TeradataDatabase(String conectionString) : base (conectionString,new TdFactory())
        {            
        }

        protected override void DeriveParameters(System.Data.Common.DbCommand discoveryCommand)
        {
            throw new NotImplementedException();
        }
    }
}

 
Still working on implementing Teradata-specific stuff, like mapping to TdType and other optimization stuff..
 
Wondering if anybody has done any research or has sample code related to this solution..  Any pros/cons of using Ent Lib Daab with Teradata .Net provider in terms of performance, compatability, etc..

Forums: 

looking for libicudatatd

$
0
0

hi,
the teradata driver requires libicudatatd however the files included in the driver, TeraGSS and tdodbc, don't include that file,
do you know where to find this file?
thanks,

Forums: 

Getting both Teradata ODBC and Aster ODBC working together with the pyodbc Python adapter

$
0
0

Greetings,
I'm generally more of a forum lurker, but every once in a while I get something working that doesn't readily work out of the box the way you'd expect and feel that its worth posting about to ease the path of others (and maybe leave a trail for Google to scan so I don't have to remember where I left my notes!)
My little victory dance today was getting the ODBC adapters for Aster and Teradata to both co-exist in the same process with pyodbc, the Python ODBC adapter.  It took more doing than it should have, so thats why I'm writing it up.
My test system was Ubuntu Linux 13.04 -- a very recent Ubuntu build -- running a 64 bit Linux.
I had to install the "rpm" module for Ubuntu to cope with the tdodbc RPMs, but that's not a big deal.  The teradata ODBC adapters are in their typical home of

/opt/teradata/client/14.10/odbc_64/lib

and

/opt/teradata/client/14.10/tdicu/lib64

and to make things similar, I dropped the Aster ODBC drivers into /opt/aster, i.e. the two drivers are

/opt/aster/stage/clients-odbc-linux64/Libs

and

/opt/aster/stage/clients-odbc-linux64/DataDirect/lib

Python is the stock python and I used the Ubuntu package manager to install pyodbc.
Now -- heres the interesting stuff.  The Teradata installer will make symlinks to libodbc.so and libodbcinst.so in /usr/lib64.  Fortunately for me, /usr/lib64 is not a standard library path on Ubuntu so I could easily see what was going on.  The Teradata version of the DataDirect odbc driver manager will not properly load the Aster version of the adapter, so you have to switch out the symlinks in /usr/lib64.  First, you have to make libodbc.so and libodbcinst.so use the Aster versions, and you also need to make a convenience link of libodbc.so.1 for pydobc itself.   If there are existing libodbc* in /usr/lib64 (or, for me, /lib/x86_64-linux-gnu) you need to get those out of the way -- I suggest renaming them with a capital X in front so they aren't found but you can easily put them back in case you oops something.
You also have to symlink the lidddicu27.so from Aster into your lib directory.  Here's the symlinks I ended up with when I was done (note that the teradata odbc installer did most of these links).

lrwxrwxrwx root/root         0 2013-11-06 14:17 usr/lib64/libodbc.so.1 -> libodbc.so
lrwxrwxrwx root/root         0 2013-11-06 14:02 usr/lib64/libodbc.so -> /opt/aster/stage/clients-odbc-linux64/DataDirect/lib/libodbc.so
lrwxrwxrwx root/root         0 2013-11-06 14:02 usr/lib64/libodbcinst.so -> /opt/aster/stage/clients-odbc-linux64/DataDirect/lib/libodbcinst.so
lrwxrwxrwx root/root         0 2013-11-06 10:29 usr/lib64/libiculxtd.so -> /opt/teradata/client/14.10/tdicu/lib64/libiculxtd.so.46.0
lrwxrwxrwx root/root         0 2013-11-06 10:29 usr/lib64/libicui18ntd.so -> /opt/teradata/client/14.10/tdicu/lib64/libicui18ntd.so.46.0
lrwxrwxrwx root/root         0 2013-11-06 10:29 usr/lib64/libicudatatd.so.46 -> /opt/teradata/client/14.10/tdicu/lib64/libicudatatd.so.46.0
lrwxrwxrwx root/root         0 2013-11-06 10:29 usr/lib64/libiculetd.so -> /opt/teradata/client/14.10/tdicu/lib64/libiculetd.so.46.0
lrwxrwxrwx root/root         0 2013-11-06 10:29 usr/lib64/libtdsso.so -> /opt/teradata/client/ODBC_64/lib/libtdsso.so
lrwxrwxrwx root/root         0 2013-11-06 10:29 usr/lib64/libicudatatd.so -> /opt/teradata/client/14.10/tdicu/lib64/libicudatatd.so.46.0
lrwxrwxrwx root/root         0 2013-11-06 10:29 usr/lib64/libtdparse.so -> /opt/teradata/client/ODBC_64/lib/libtdparse.so
lrwxrwxrwx root/root         0 2013-11-06 10:29 usr/lib64/libicuuctd.so -> /opt/teradata/client/14.10/tdicu/lib64/libicuuctd.so.46.0
lrwxrwxrwx root/root         0 2013-11-06 10:29 usr/lib64/libicuuctd.so.46 -> /opt/teradata/client/14.10/tdicu/lib64/libicuuctd.so.46.0
lrwxrwxrwx root/root         0 2013-11-06 10:29 usr/lib64/libicui18ntd.so.46 -> /opt/teradata/client/14.10/tdicu/lib64/libicui18ntd.so.46.0
lrwxrwxrwx root/root         0 2013-11-06 10:29 usr/lib64/libicuiotd.so -> /opt/teradata/client/14.10/tdicu/lib64/libicuiotd.so.46.0
lrwxrwxrwx root/root         0 2013-11-06 10:29 usr/lib64/libicuiotd.so.46 -> /opt/teradata/client/14.10/tdicu/lib64/libicuiotd.so.46.0
lrwxrwxrwx root/root         0 2013-11-06 10:29 usr/lib64/libddicu26.so -> /opt/teradata/client/ODBC_64/lib/libddicu26.so
lrwxrwxrwx root/root         0 2013-11-06 14:07 usr/lib64/libddicu27.so -> /opt/aster/stage/clients-odbc-linux64/DataDirect/lib/libddicu27.so
lrwxrwxrwx root/root         0 2013-11-06 10:29 usr/lib64/libiculetd.so.46 -> /opt/teradata/client/14.10/tdicu/lib64/libiculetd.so.46.0
lrwxrwxrwx root/root         0 2013-11-06 10:29 usr/lib64/libiculxtd.so.46 -> /opt/teradata/client/14.10/tdicu/lib64/libiculxtd.so.46.0

Now, as it happens you need to make sure your system is reading the related libraries provided... and most systems nowadays will use /etc/ld.so.conf.d to have simple files listing your system libraries.  We add the Aster and Teradata libraries by creating /etc/ld.so.conf.d/Zteradata.conf (named with a capital Z so it comes at the end of the default search path) with the following entries:

/opt/aster/stage/clients-odbc-linux64/Libs
/opt/aster/stage/clients-odbc-linux64/DataDirect/lib
/opt/teradata/client/14.10/odbc_64/lib
/opt/teradata/client/14.10/tdicu/lib64

The aster ODBC driver installation instructions tell you to set the DriverManagerEncoding to UTF-32, but I found if I did that it would cause a segfault, and UTF-8 managed to turn everything from Aster into Chinese on me, but fortunately UTF-16 did the trick.
Here is my /etc/aster.ini file:

[driver]
DriverManagerEncoding=UTF-16
LogLevel=0
DriverLocale=en-US
ErrorMessagesPath=/opt/aster/stage/clients-odbc-linux64/ErrorMessages
ODBCInstLib=/opt/aster/stage/clients-odbc-linux64/DataDirect/lib/libodbcinst.so

For completeness, here are my odbc.ini and odbcinst.ini files, respectively:

[ODBC]
InstallDir=/opt/teradata/client/14.10/odbc_64
Trace=0
;TraceDll=/opt/teradata/client/14.10/odbc_64/lib/odbctrac.so
;TraceFile=/usr/joe/odbcusr/trace.log
TraceAutoStop=0

[ODBC Data Sources]
TDATA=tdata.so
Aster=AsterDriver

[ASTER]
Driver=/opt/aster/stage/clients-odbc-linux64/DataDirect/lib/libAsterDriver.so
SERVER=aster.mydomain
DATABASE=beehive

[TDATA]
Driver=/opt/teradata/client/14.10/odbc_64/lib/tdata.so
Description=Teradata database
DBCName=teradata.mydomain
LastUser=
Username=
Password=
Database=
DefaultDatabase=
[ODBC DRIVERS]
Teradata=Installed
AsterDriver=Installed

[ODBC Translators]
OEM to ANSI=Installed

[AsterDriver]
Driver=/opt/aster/stage/clients-odbc-linux64/DataDirect/lib/libAsterDriver.so
IconvEncoding=UCS-4LE

[Teradata]
Driver=/opt/teradata/client/14.10/odbc_64/lib/tdata.so
APILevel=CORE
ConnectFunctions=YYY
DriverODBCVer=3.51
SQLLevel=1

Now -- after making the entries in /etc/ld.so.conf.d, and getting all the symlinks made, you have to remember to run

ldconfig -v

(well, OK, maybe you don't need -v but I always do that) to refresh ld.so's cache.
After that, voila!  Python is able to talk to both Teradata and Aster simultaneously!
Here's my test program:

#!/usr/bin/env python

import pyodbc
pyodbc.pooling = False

def Tables(conn):
    c = conn.cursor()
    tables = c.tables()
    rs = tables.fetchall()

    for r in rs:
        print "%s.%s" % (r[1], r[2])


tdata = pyodbc.connect('DSN=TDATA;UID=matt;PWD=********')
aster = pyodbc.connect('DSN=Aster;UID=matt;PWD=********')

print "Teradata tables"
Tables(tdata)

print "Aster tables"
Tables(aster)

Except of course I blanked out my password :)
Hopefully this helps both of you similarly situated users whom I've never met use both libraries simultanously! (OK, maybe there are three of you, but it isn't a big number!)
Also -- one last thing -- if you were previously using LD_LIBRARY_PATH to set the path to your libraries -- you should get rid of that, since the /etc/ld.so.conf.d/Zteradata.conf file now sets that for all users of your system.  You have to make sure the aster Libs load after the normal libc libraries because they include a rude version of the c++ runtime which will make ld cry out a warning which will annoy the heck out of you.

Forums: 

ODBC and MS Access DSN-less connection VB

$
0
0

I have succesfully set up an Access front-end that links tables from a Teradata database.  Everything works fine when I have the tables linked through a DSN.  I am trying to set up a DSN-less connection, but I am encountering the following error:  "Reserved Error (-7778): there is no message for this error"
My code is below.  The code below uses a method that deletes the table definition and then appends a new one.  I have also tried using the TableDef RefreshLink method and am getting the same error.  I also understand that the ODBC connection string for Teradata should start with "Provider=Teradata", but when I use Provider I get prompted with the DSN selection box, so I have been using "Driver=Teradata".

Option Compare Database

'//Name     :   AttachDSNLessTable
'//Purpose  :   Create a linked table to a database without using a DSN
'//Parameters
'//     stLocalTableName: Name of the table that you are creating in the current database
'//     stRemoteTableName: Name of the table that you are linking to on the SQL Server database
'//     stServer: Name of the SQL Server that you are linking to
'//     stDatabase: Name of the SQL Server database that you are linking to
'//     stUsername: Name of the SQL Server user who can connect to SQL Server, leave blank to use a Trusted Connection
'//     stPassword: SQL Server user password
Function AttachDSNLessTable(stLocalTableName As String, stRemoteTableName As String, stServer As String, stDatabase As String, Optional stUsername As String, Optional stPassword As String)
    On Error GoTo AttachDSNLessTable_Err
    Dim td As TableDef
    Dim stConnect As String
    
    For Each td In CurrentDb.TableDefs
        If td.Name = stLocalTableName Then
            CurrentDb.TableDefs.Delete stLocalTableName
        End If
    Next
      
    stConnect = "ODBC;Driver=Teradata;DBCName="& stServer & ";Database="& stDatabase & ";Uid="& stUsername & ";Pwd="& stPassword

    Set td = CurrentDb.CreateTableDef(stLocalTableName, dbAttachSavePWD, stRemoteTableName, stConnect)
    CurrentDb.TableDefs.Append td
    AttachDSNLessTable = True
    Exit Function

AttachDSNLessTable_Err:
    
    AttachDSNLessTable = False
    MsgBox "AttachDSNLessTable encountered an unexpected error: "& Err.Description

End Function

 

Forums: 

Loading from oracle to TD using TPT

$
0
0

Hi,
If I have 500 GB of data to be tptied to TD, how much shared memory from the client system, should I allocate?
Thanks and regards,
Raja

Forums: 

Teradata connectivity with SAP

$
0
0

Hi Team,
 
I need information on below points , we are looking to pull data from SAP ECC system into teradata:
 

  • Can we connect using Teradata , directly to SAP or SAP BW ?
  • Do we require ETL tools like Informatica only or can Teradata direcly pull data from SAP/ SAP BW
  • Is there is utility that TD has , using which we can connect to SAP or SAP BW ?
  • Is is mandetoty to pull data from BW or can we pull directly from SAP ECC system?

 
please help me out!
 
Thanks
 

Forums: 

Moving data from DB2 to Teradata via AIX

$
0
0

Hi,
       Is it possible to stream data from a DB2 table to Teradata table using a Unix script ? Can this be done using CONSUMER/PRODUCER operators and not ODBC operators ?
 
Cheers,
Kunal
 

Forums: 

OBIEE to teradata connection - obiee is on Linux OS.. getting

How to Connect Mainframe DB2 to Teradata Client V13.10

$
0
0

Hi All,
 
Need your expertise in connectivity. I need to connect Mainframe DB2 on Z/OS to Teradata Client V13.10
Can anyone please guide me on what steps are to be taken for this ?
Thanks for your help.
 
Cheers,
Kedar!

Forums: 
Viewing all 445 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>