We are brand new to Teradata database and are using it as our database from SAS. We are wondering if anyone has a method to change Teradata passwords from SAS. We have put together a SAS stored procedure that we can utilitze to change Teradata passwords as long as they are not already expired. Once a password is expired or if it a new user with a pre-expired password, then our process breaks. We believe it is because Teradata is expecting something more than just the password in these cases. Does anyone know how to get around this?
Connection from SAS and the ability to change Teradata password
Teradata JDBC Connection Failure
Hi
I installed Teradata studio express 15 on windows 7-32 bit.
I am facing issue while setting Teradata connection.
Exception-
java.sql.SQLException: [Teradata JDBC Driver] [TeraJDBC 15.10.00.09] [Error 1000] [SQLState 08S01] Login failure for Packet receive Thu May 12 00:06:49 IST 2016 socket orig=192.168.2.2 local=0.0.0.0/0.0.0.0:18156 remote=/192.168.2.2:1025 keepalive=unavailable nodelay=unavailable receive=unavailable send=unavailable linger=unavailable traffic=unavailable concurrent=3 contimeout=10000 conwait=1000 connecttime=1 connecttotaltime=2 connectattempts=1 connectfailures=0 reconnectattempts=0 recoverable=false redrive=false failurecache={} cid=18831cc sess=0 java.io.IOException: Incomplete LAN message header: read 24 bytes at com.teradata.jdbc.jdbc_4.io.TDNetworkIOIF.read(TDNetworkIOIF.java:712) at com.teradata.jdbc.jdbc_4.io.TDPacketStream.readStream(TDPacketStream.java:768) at com.teradata.jdbc.jdbc.GenericLogonController.run(GenericLogonController.java:102) at com.teradata.jdbc.jdbc_4.TDSession.<init>(TDSession.java:208) at com.teradata.jdbc.jdk6.JDK6_SQL_Connection.<init>(JDK6_SQL_Connection.java:35) at com.teradata.jdbc.jdk6.JDK6ConnectionFactory.constructSQLConnection(JDK6ConnectionFactory.java:25) 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:233) at com.teradata.jdbc.TeraDriver.connect(TeraDriver.java:159) at com.teradata.datatools.dtp.connectivity.db.teradata.TeradataJDBCConnection.makeConnection(TeradataJDBCConnection.java:277) at com.teradata.datatools.dtp.connectivity.db.teradata.TeradataJDBCConnection.createConnection(TeradataJDBCConnection.java:122) at org.eclipse.datatools.connectivity.DriverConnectionBase.internalCreateConnection(DriverConnectionBase.java:105) at org.eclipse.datatools.connectivity.DriverConnectionBase.open(DriverConnectionBase.java:54) at org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection.open(JDBCConnection.java:96) at com.teradata.datatools.dtp.connectivity.db.teradata.TeradataPingFactory.createConnection(TeradataPingFactory.java:36) at org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(ConnectionFactoryProvider.java:83) at org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(ConnectionProfile.java:359) at org.eclipse.datatools.connectivity.ui.PingJob.createTestConnection(PingJob.java:76) at org.eclipse.datatools.connectivity.ui.PingJob.run(PingJob.java:59) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
at com.teradata.jdbc.jdbc_4.util.ErrorFactory.makeDriverJDBCException(ErrorFactory.java:94)
at com.teradata.jdbc.jdbc_4.util.ErrorFactory.makeDriverJDBCException(ErrorFactory.java:69)
at com.teradata.jdbc.jdbc_4.util.ErrorFactory.makeIoJDBCException(ErrorFactory.java:207)
at com.teradata.jdbc.jdbc_4.util.ErrorAnalyzer.analyzeIoError(ErrorAnalyzer.java:59)
at com.teradata.jdbc.jdbc_4.io.TDNetworkIOIF.read(TDNetworkIOIF.java:890)
at com.teradata.jdbc.jdbc_4.io.TDPacketStream.readStream(TDPacketStream.java:768)
at com.teradata.jdbc.jdbc.GenericLogonController.run(GenericLogonController.java:102)
at com.teradata.jdbc.jdbc_4.TDSession.<init>(TDSession.java:208)
at com.teradata.jdbc.jdk6.JDK6_SQL_Connection.<init>(JDK6_SQL_Connection.java:35)
at com.teradata.jdbc.jdk6.JDK6ConnectionFactory.constructSQLConnection(JDK6ConnectionFactory.java:25)
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:233)
at com.teradata.jdbc.TeraDriver.connect(TeraDriver.java:159)
at com.teradata.datatools.dtp.connectivity.db.teradata.TeradataJDBCConnection.makeConnection(TeradataJDBCConnection.java:277)
at com.teradata.datatools.dtp.connectivity.db.teradata.TeradataJDBCConnection.createConnection(TeradataJDBCConnection.java:122)
at org.eclipse.datatools.connectivity.DriverConnectionBase.internalCreateConnection(DriverConnectionBase.java:105)
at org.eclipse.datatools.connectivity.DriverConnectionBase.open(DriverConnectionBase.java:54)
at org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection.open(JDBCConnection.java:96)
at com.teradata.datatools.dtp.connectivity.db.teradata.TeradataPingFactory.createConnection(TeradataPingFactory.java:36)
at org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(ConnectionFactoryProvider.java:83)
at org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(ConnectionProfile.java:359)
at org.eclipse.datatools.connectivity.ui.PingJob.createTestConnection(PingJob.java:76)
at org.eclipse.datatools.connectivity.ui.PingJob.run(PingJob.java:59)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.io.IOException: Incomplete LAN message header: read 24 bytes
at com.teradata.jdbc.jdbc_4.io.TDNetworkIOIF.read(TDNetworkIOIF.java:712)
... 20 more
Submit multiple SQL lines to Teradata through R
Hello Everyone,
I am having a problem of running queries through R. Here is the error message "Only an ET or null statement is legal after a DDL Statement". I've done my researches: I know one way to fix is to run the queries in separate calls. However, given I have so many existing queries, I AM WONDERING IF THERE IS A WAY I COULD DO IT IN THE SINGLE CALL (basically I just want to open my existing sql files and copy/paste):
library(RODBC) channel <- odbcDriverConnect("dsn=Enterprise Data Warehouse;uid=123123;pwd=123123") sqlQuery(channel, " create volatile table fast_list as ( select cust_nbr from customer where natl_acct_nbr ='1234' ) with data primary index (cust_nbr) on commit preserve rows ; insert into fast_list (cust_nbr) values (1235); ")
I have seen posts:
1. suggest add "ET;" and I tried to add between "on commit preserve rows;" and "intert...", it didn't work.
2. suggest add "session mode = Teradata". I tried to add this into odbcDriversConnect and it didn't work either.
Thanks in advance!
Connectivity error to TD using ODBC_64 on library libtdsso.so
Hello, I have installed TD 14.00 on a RHEL server and trying to connect to a TD server using TDXODBC. I just ran a strace and am getting the following error. It appears that this is happening during logon and then aborts. Can anyone enlighten me as to what this library is, related error and suggestion to how to fix? Any assistance is greatly appreciated.
readlink("/opt/teradata/client/14.00/odbc_64/lib/libtdsso.so", 0x57a8d0, 50) = -1 EINVAL (Invalid argument)
ODBC connect to DB2 in TPT - TPT_INFRA: TPT02192: Error: Cannot load shared library
Hi,
I'm writing a TPT script to connect to DB2 with ODBC. The ODBC DB2 drivers are 64 bit. I'm running on AIX unix. Below is the error, some teradata libraries, and the tpt script. Please let me know if you need any additional information. Thank you for your help.
/home/idxxx >> tbuild -f load_db2_connect.tpt
Teradata Parallel Transporter Version 14.00.00.08
Job log: /opt/teradata/client/14.00/tbuild/logs/idxxx-1.out
Job id is idxxx-1, running on etlpxapp01
Teradata Parallel Transporter SQL DDL Operator Version 14.00.00.08
DDL_OPERATOR: private log not specified
DDL_OPERATOR: connecting sessions
DDL_OPERATOR: sending SQL requests
DDL_OPERATOR: TPT10508: RDBMS error 3807: Object 'cm_raw.sss_kids_001_ET' does not exist.
DDL_OPERATOR: TPT18046: Warning: error is ignored as requested in ErrorList
DDL_OPERATOR: TPT10508: RDBMS error 3807: Object 'cm_raw.sss_kids_001_UV' does not exist.
DDL_OPERATOR: TPT18046: Warning: error is ignored as requested in ErrorList
DDL_OPERATOR: TPT10508: RDBMS error 3807: Object 'cm_raw.sss_kids_001_LG' does not exist.
DDL_OPERATOR: TPT18046: Warning: error is ignored as requested in ErrorList
DDL_OPERATOR: Rows Deleted: 0
DDL_OPERATOR: disconnecting sessions
DDL_OPERATOR: Total processor time used = '0.03316 Second(s)'
DDL_OPERATOR: Start : Sat May 21 08:18:25 2016
DDL_OPERATOR: End : Sat May 21 08:18:26 2016
Job step Setup_Tables completed successfully
TPT_INFRA: TPT02192: Error: Cannot load shared library
dlopen error: Could not load module /opt/teradata/client/14.00/tbuild/lib/libodbcop.so.
Dependent module /etl/IBM/InformationServer/Server/branded_odbc/lib/libodbc.a(odbc.so) could not be loaded.
The module has an invalid magic number.
Could not load module /opt/teradata/client/14.00/tbuild/lib/libodbcop.so.
Dependent module /opt/teradata/client/14.00/tbuild/lib/libodbcop.so could not be loaded.
TPT_INFRA: TPT02109: Cannot open shared library libodbcop.so, status = Open Error
TPT_INFRA: TPT02240: Error: Cannot create operator object, status = Operator Error
TPT_INFRA: TPT02103: Executor unable to set up its table object
Job step load_ld_table_from_file terminated (status 12)
Job idxxx terminated (status 12)
/home/idxxx >> cd /opt/teradata/client
/opt/teradata/client >> ls
13.10 14.00 ODBC_32 ODBC_64 lib odbc
/opt/teradata/client >> cd 14.00
/opt/teradata/client/14.00 >> ls
bin bin64 include jmsaxsmod lib lib64 odbc_32 odbc_64 sample tbuild tdicu
/opt/teradata/client/14.00 >> cd tbuild
/opt/teradata/client/14.00/tbuild >> ls
bin inc lib64 mmap msg64 template twbcfg.ini version
checkpoint lib logs msg sample tptapi twboper.ini
/opt/teradata/client/14.00/tbuild >> cd lib
/opt/teradata/client/14.00/tbuild/lib >> ls -l
total 25883
-r--r--r-- 1 root system 1699794 Nov 06 2012 libdataconop.so
-r--r--r-- 1 root system 57885 Nov 06 2012 libddlop.so
-r--r--r-- 1 root system 150155 Nov 06 2012 libexportop.so
-r--r--r-- 1 root system 1323861 Nov 06 2012 libfeomop.so
-r--r--r-- 1 root system 1313447 Nov 06 2012 libflimop.so
-r--r--r-- 1 root system 114051 Nov 06 2012 libinsertop.so
-r--r--r-- 1 root system 133003 Nov 06 2012 libloadop.so
-r--r--r-- 1 root system 66441 Nov 06 2012 liblogview.so
-r--r--r-- 1 root system 1320615 Nov 06 2012 libmlimop.so
-r--r--r-- 1 root system 303270 Nov 06 2012 libodbcop.so
-r--r--r-- 1 root system 589734 Nov 06 2012 libopcommon.so
-r--r--r-- 1 root system 14449 Nov 06 2012 liboscmdop.so
-r--r--r-- 1 root system 175748 Nov 06 2012 libptmin.so
-r--r--r-- 1 root system 38972 Nov 06 2012 libptmos.so
-r--r--r-- 1 root system 208157 Nov 06 2012 libptmpi.so
-r--r--r-- 1 root system 87385 Nov 06 2012 libptmpo.so
-r--r--r-- 1 root system 2893405 Nov 06 2012 libpxcommon.so
-r--r--r-- 1 root system 207750 Nov 06 2012 libpxextrct.so
-r--r--r-- 1 root system 15128 Nov 06 2012 libpxicu.so
-r--r--r-- 1 root system 59485 Nov 06 2012 libschemapop.so
-r--r--r-- 1 root system 133719 Nov 06 2012 libselectop.so
-r--r--r-- 1 root system 367906 Nov 07 2012 libstreamop.so
-r--r--r-- 1 root system 487007 Nov 06 2012 libtableqry.so
-r--r--r-- 1 root system 1314970 Nov 06 2012 libtelapi.so
-r--r--r-- 1 root system 133534 Nov 06 2012 libupdateop.so
/opt/teradata/client/14.00/tbuild/lib >> cd ../lib64
/opt/teradata/client/14.00/tbuild/lib64 >> ls -l
total 6201
-r--r--r-- 1 root system 164098 Nov 06 2012 libexportop.so
-r--r--r-- 1 root system 142112 Nov 06 2012 libloadop.so
-r--r--r-- 1 root system 638313 Nov 06 2012 libopcommon.so
-r--r--r-- 1 root system 16604 Nov 06 2012 libpxicu.so
-r--r--r-- 1 root system 396336 Nov 07 2012 libstreamop.so
-r--r--r-- 1 root system 1666588 Nov 06 2012 libtelapi.so
-r--r--r-- 1 root system 142887 Nov 06 2012 libupdateop.so
tpt script:
/***********************************************************************
-- This script mloads a table reading a flat file using LOAD operator
-- MANUAL UPDATES WERE MADE by xxxx on mm/dd/yyyy.
-- MANUAL UPDATES WERE MADE by xxxx on mm/dd/yyyy.
*************************************************************************/
DEFINE JOB FILE_LOAD
DESCRIPTION ' This TPT script is used to load a flat file to a table. '
(
DEFINE SCHEMA ACTIVE_EMPS_schema
(
CORP_ENT_CD CHAR(10) /* 1 8 1 - 8 */
,SRC_REC_STA_CD CHAR(1) /* 2 5 9 - 13 */
);
DEFINE OPERATOR DDL_OPERATOR
DESCRIPTION 'TPT DDL OPERATOR - do initial table prep work items.'
TYPE DDL
ATTRIBUTES
(
VARCHAR TdpId = 'edwp',
VARCHAR UserName = 'idxxx',
VARCHAR UserPassword = 'xxxx',
VARCHAR ErrorList = '3807'
);
DEFINE OPERATOR ODBC_OPERATOR
DESCRIPTION 'TPT ODBC OPERATOR - connect to db2.'
TYPE ODBC
SCHEMA ACTIVE_EMPS_schema
ATTRIBUTES
(
VARCHAR DSNname = 'IDSPRDDA',
VARCHAR UserName = 'idxxx',
VARCHAR UserPassword = 'wwww',
VARCHAR SelectStmt = 'select corp_ent_cd, src_rec_sta_cd from PODDB01.pty_key_mgmt fetch first 1 rows only with ur;'
);
DEFINE OPERATOR LOAD_OPERATOR
TYPE LOAD
SCHEMA *
ATTRIBUTES
(
VARCHAR TdpId = 'edwp',
VARCHAR UserName = 'idxxx',
VARCHAR UserPassword = 'xxxx',
VARCHAR TargetTable = 'cm_raw.sss_kids_001',
VARCHAR LogTable = 'cm_raw.sss_kids_001_LG',
VARCHAR ErrorTable1 = 'cm_raw.sss_kids_001_ET',
VARCHAR ErrorTable2 = 'cm_raw.sss_kids_001_UV',
INTEGER MaxSessions = 4,
INTEGER MinSessions = 1,
INTEGER ErrorLimit = 99999999
);
STEP Setup_Tables
(
APPLY
('DROP TABLE cm_raw.sss_kids_001_ET;'),
('DROP TABLE cm_raw.sss_kids_001_UV;'),
('DROP TABLE cm_raw.sss_kids_001_LG;'),
('DELETE FROM cm_raw.sss_kids_001;')
TO OPERATOR (DDL_OPERATOR);
);
STEP load_ld_table_from_file
(
APPLY
('INSERT INTO cm_raw.sss_kids_001(
:CORP_ENT_CD
,:SRC_REC_STA_CD
);')
TO OPERATOR (LOAD_OPERATOR)
SELECT * FROM OPERATOR(ODBC_OPERATOR);
);
);
);
hive server2 connection through Teradata Studio not working
What could be the reason for the below error.
Error
Could not connect to New Hadoop Hortonworks. Error creating SQL Model Connection connection to New Hadoop Hortonworks. (Error: Error while processing statement: Cannot modify hive.server2.thrift.http.path at runtime. It is not in list of params that are allowed to be modified at runtime) Error while processing statement: Cannot modify hive.server2.thrift.http.path at runtime. It is not in list of params that are allowed to be modified at runtime
Configuration :
hive.server2.thrift.http.path = cliservice
hive.server2.thrift.http.port = 10001
hive.server2.transport.mode=http
Added custom hive-site.xml
hive.security.authorization.sqlstd.confwhitelist.append = hive.server2.thrift.http.path|hive.server2.transport.mode|t2h.eca.*
Teradata Studio Express Version: 15.10.01.01.201601251512
Perl to TERADATA connection via DBD::Teradata using kerberos
Hi ,
I need to connect to teradata from perl without using password [ kerberos ] via the module DBD::Teradata . I have acheived it via ODBC but didnt have a clue for DBD::Teradata ,other than , it can be accomplished via tdat_security . I am not sure how to use it . Please help .
ODBC performance on Linux
Hi all,
We are experiencing a relative slow ODBC throughput from TD to Microstrategy and I am wondering if this is "as good as it gets" or if the throughput is below standard.
The challenge is that TD is performing nice, but the transfer time of the output of the query is taking a significant time of the total run time of the report. We have tested with the following setup:
- 500.000 rows
- 35 columns
Results:
- Roughly 33.000 rows/s
- Roughly 9.4 MB/s
- Query execution time: 2s
- Transfer time: 15s
- Processing time on Microstragy: 10
- Total time: 27s
Currently this is our environment:
- TD 2700 14.10.06.03 - connected with 2 nodes wtih 1 Gb to a 10 Gb core network. No firewall in between, in the same data center.
- Microstrategy 9.4.1, previously on a TD TMS, image moved to our own VM hosting with SLES 11. Microstrategy 10.x offers native support for TPT Fast Export, but we are not yet there...
- ODBC verson on the Microstrategy machine is 14.10.00.09-1 and is the latest available. Micostrategy can only use the 32-bit driver on Linux.
Tested is:
- scp with a random generated file from TD to Microstrategy shows a througput of 65 MB/s. Backup of TD via ABU reaches close to 200 MB/s, close to the limit of the physical network connection of the nodes
- Version of odbc (.9 gave a 1/3 improvement, in the release notes was a reference to better performance: "ODBC-12455 -- The ODBC Driver for Teradata now uses the -O2 compiler optimization level for better performance on the Linux platform"). But we are stuck on the 14.10.x stack as 15.x is not certifified with Microstrategy. I am aware that TTU 15.10 is backwards compatible with TD 14.10.
- MaxRespSize is on maximum, all kinds of settings were tested, but only on very low settings the transfer times increased
- Various settings such as NoScan, DisablePREPARE, TCPNoDelay etc did not influence the transfer time significantly (milliseconds difference, could be related to other things in the environment).
- Encryption did impact the transfer negatively (as expected).
- DNS or direct connection on ip-addres: no signicant difference
Should I check more things? Am I overlooking something? Or is this really the normal performance of odbc...
ODBC error (64bit)
Hoping someone can help with this issue as I have spent way too long trying to troubleshoot on my own.
I have the latest version of Teradata Studio(15.11) and I am running Windows7(64bit).
When I launch the "64-bit" ODBC Administrator" then I click on "Add" to try and add a TeraData connection I receive the following error: "The setup routines for the Teradata ODBC driver could not be loaded due to system error code 193" (site is not allowing me to upload image :( ). I have tried searching but no luck.
When I try re-installing the ODBC driver for Teradata I receive a message stating "A compatible version of Teradata GSS Client is not installed. ODBC Driver for Teradata requires Teradata GSS Client nt-x8664 15.10. Do you want to continue with the installation" I have tried several things with this and still not luck. I have uninstalled all GSS clients and reinstalled all with the the correct order and nothing helps. I even click on "yes" to continue but still no luck.
I would also point out that the information within the "Create new data source" window it shows "not marked" for "VERSION" and "COMPANY" (site is not allowing me to upload image :() as well as the data is not populated for "DATE".
When I click on "finish" to create a new connection for Teradata this is when I receive the error mention above.
Error while setting up proxy user using BO
Hi,
I am working to set up a proxy user to connect from BO to teradata. I am able to test this using sql assistant. Basically, i am executing two commands :
1.Grant connect through idw_bo_user to permanent "samir.singh" with role myrole; - This sets up a connect through for user "samir.singh" using "idw_bo_user".
2. With idw_bo_user login, i run a set query band command - Set query_band ='proxyuser=samir.singh;' for session; This statement sets samir.singh as a proxyuser for that session.
This works perfect as expected.
Now, when i try to set this up using BO, i get error that "connect through has not been granted to 'samir.singh' through idw_bo_user. This error arises because it is not expecting single quotes in queryband for 'samir.singh'. When i try the same thing in sql assist, i get the same error.
The queryband that gets generated in BO looks like - SET QUERY_BAND='PROXYUSER='@VARIABLE('BOUSER')';' FOR TRANSACTION;
So, my question is : is the BO not passing the parameters right by including single (or double not sure) quotes in the name ? Could someone suggest how to solve this issue. We have identified the probelm , but not sure who is wrong here either TD or BO ?
--Samir Singh
Ping Failed - can not connect to Teradata on Linux - aws
Hi,
I’m using Teradata Express on linux machine - aws.
When starting the machine, Teradata is not starting properly.
I have to stop it and start it several times until Teradata works fine.
Today it did not start at all...
When I type this command:
pdestate –a
I get this state:
PDE state is RUN/STARTED.
DBS state is 7: System is operational without PEs - Sessions are not allowed
What can be the cause of this problem?
Thank you very much
OLEDB Driver of TD15.10
Are there any plans to release oledb driver for TD 15.10? Because I have SSIS packages that were developed with previous OLEDB version and those SSIS packages are crashing when I open in visual studio
Can not connect from host to TDE 14 40G - IP address is not set.
Hi,
I was using the TDE 14 - 4G successfully but could not load my data due to free space.
Now I’m trying to work with TDE 14 – 40G but I can’t connect to the VM from my host.
No eth0 IP address was set on the VM – so I tried configuring my own IP and succeeded to ping the VM.
But - I still can’t connect to Teradata from Teradata studio or from putty on my host.
What are the differences between 4g and 40g?
How can I expose the TDE machine to my host?
Thank you
Sharon
SQLDriverConnect works fine while SQLDriverConnectW gives mysterious error message
Hi,
We're building data analytics software on Linux and trying to bring in support for Teradata. We've followed everything in the ODBC Driver for Teradata User Guide(Release 15.10). Indeed we could connect to our testing teradata database through the provided tool tdxodbc64, which seems to be using SQLConnect, or through ql, or through our small testing snippet which is using SQLDriverConnect. However when using another snippet which calls SQLDriverConnectW instead but with exactly the same connect string, it failed!
We're using unixODBC 2.3.4. The connect string is like this "DRIVER={Teradata};DBCName=hostname;DATETIMEFORMAT=AAA;CHARSET=UTF16;QuietMode=Y;USENATIVELOBSUPPORT=YES;UID=username;PWD=password;MaxRespSize=1048576". Our small testing snippet using SQLDriverConnectW gives this mysterious error, "450:1:0:523 448", from function SQLGetDiagRec. And our application, when trying to connect to the same database, got also mysterious but different error message like this "unixODBC]呛牥摡瑡嵡佛䉄⁃敔慲慤慴䐠楲敶嵲丠䉄乃浡湥牴敩敷敲映畯摮椠卄⽎潣湮捥楴湯猭牴湩 \xFFFF;\".
We guess it might be a encoding or unicode issue but really have no idea what exactly the problem is. Any help would be appreciated.
Thanks,
Johnny
connecting to Teradata from Oracle DB &SAP BW
Hello Everyone,
i am doin a POC by connecting to Teradata DB from Oracle DB and SAP BW to transfer the data from Oracle and SAPBW. Is it possible ? if yes, please guide me how to do that ?
i am using TD 15 version.
Thanks in advance,
Raj Y
Querying teradata with UDF from Excel
I have problem executing query accessing Teradata UDF from Excel. Query executes fine from SQL Assistant but when executed from Excel 2010 it fails and DBQL logs an error message. Query looks like this:
SELECT top 70 from SIM_DATA.udf_ForecastPerion(CAST (sv.EventDate as DATE)) AS SPF_ForecastPeriod
FROM SIM_DATA.ShopVisit sv
and DBQL logs error: 3706 Synatx Error
Wonder if somebody had similar poblem.
Cloudera Connector Powered By Teradata
The cloudera connector powered by Teradata is used to export the data from teradata systems to Hadoop using Sqoop.I would like to know how it maintains read-consistency while reading the data from the table?Does it aquire locks on the table?
Unable to Connect to Teradata Database from Teradata Studio on iOS (Mac)
Hello Guys, I am to attempt to connect to a remote TERADATA Database from the Teradata Studio from my Mac. The error reported is showed below and this same error happened from the Linux Operating System. But if I configure a DNS in Windows I can connect to the Remote Teradata when the connection testing is executed.
Please Forum, can you help me ?? I have checked the older post regarding this issue buy any help me to solve the situation.
java.sql.SQLException: [Teradata JDBC Driver] [TeraJDBC 15.10.00.15] [Error 1277] [SQLState 08S01] Login timeout for Connection to ICW_Iberia Tue Aug 02 10:37:06 CEST 2016 socket orig=ICW_Iberia cid=46a9759f sess=0 java.net.SocketTimeoutException: connect timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at com.teradata.jdbc.jdbc_4.io.TDNetworkIOIF$ConnectThread.run(TDNetworkIOIF.java:1224)
at com.teradata.jdbc.jdbc_4.util.ErrorFactory.makeDriverJDBCException(ErrorFactory.java:94)
at com.teradata.jdbc.jdbc_4.util.ErrorFactory.makeDriverJDBCException(ErrorFactory.java:69)
at com.teradata.jdbc.jdbc_4.util.ErrorFactory.makeIoJDBCException(ErrorFactory.java:207)
at com.teradata.jdbc.jdbc_4.util.ErrorAnalyzer.analyzeIoError(ErrorAnalyzer.java:59)
at com.teradata.jdbc.jdbc_4.io.TDNetworkIOIF.createSocketConnection(TDNetworkIOIF.java:158)
at com.teradata.jdbc.jdbc_4.io.TDNetworkIOIF.<init>(TDNetworkIOIF.java:137)
at com.teradata.jdbc.jdbc.GenericTeradataConnection.getIO(GenericTeradataConnection.java:130)
at com.teradata.jdbc.jdbc.GenericLogonController.run(GenericLogonController.java:98)
at com.teradata.jdbc.jdbc_4.TDSession.<init>(TDSession.java:208)
at com.teradata.jdbc.jdk6.JDK6_SQL_Connection.<init>(JDK6_SQL_Connection.java:35)
at com.teradata.jdbc.jdk6.JDK6ConnectionFactory.constructSQLConnection(JDK6ConnectionFactory.java:25)
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:234)
at com.teradata.jdbc.TeraDriver.connect(TeraDriver.java:160)
at com.teradata.datatools.dtp.connectivity.db.teradata.TeradataJDBCConnection.makeConnection(TeradataJDBCConnection.java:278)
at com.teradata.datatools.dtp.connectivity.db.teradata.TeradataJDBCConnection.createConnection(TeradataJDBCConnection.java:123)
at org.eclipse.datatools.connectivity.DriverConnectionBase.internalCreateConnection(DriverConnectionBase.java:105)
at org.eclipse.datatools.connectivity.DriverConnectionBase.open(DriverConnectionBase.java:54)
at org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection.open(JDBCConnection.java:96)
at com.teradata.datatools.dtp.connectivity.db.teradata.TeradataPingFactory.createConnection(TeradataPingFactory.java:36)
at org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(ConnectionFactoryProvider.java:83)
at org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(ConnectionProfile.java:359)
at org.eclipse.datatools.connectivity.ui.PingJob.createTestConnection(PingJob.java:76)
at org.eclipse.datatools.connectivity.ui.PingJob.run(PingJob.java:59)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.net.SocketTimeoutException: connect timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at com.teradata.jdbc.jdbc_4.io.TDNetworkIOIF$ConnectThread.run(TDNetworkIOIF.java:1224)
Connecting to Teradata through PYODBC on Mac
I have been trying to connect to Teradata using PYODBC from my Mac terminal. I have the Teradata ODBC drivers installed but PYODBC doesn't seem to be able to find them. This is the connection string I have created:pyodbc.connect('DRIVER={Teradata};DBCName=XXX;DATABASE=XXX;Authentication=TD2;UID=XXX;PWD=XXX')
And this is the error I am getting.
Error: ('01000', "[01000] [unixODBC][Driver Manager]Can't open lib 'Teradata' : file not found (0) (SQLDriverConnect)")
Is there an environment variable I need to setup so that it can find the driver?
Error while getting database functions via JDBC
Hi,
when I call java.sql.DatabaseMetaData#getFunctions method, I get the following error:
[Teradata JDBC Driver] [TeraJDBC 15.10.00.22] [Error 165] [SQLState HY000] getFunctions: function not supported in this version
Is there a solution for this?