Quantcast
Channel: Teradata Forums - All forums
Viewing all 27759 articles
Browse latest View live

Teradata ODBC 15.10 32bit and MSAccess 2016 32 bit Cannot find Terasso library - forum topic by johnhrschuster

$
0
0

I am doing some testing on Windows 10 with Access 2016.
Both are 32 bit installations
The Teradata ODBC DSN works fine with SQLAssistant 15.10.00.02
The Teradatra ODBC DSN works fine with Bi-QUERY 10.5.2.462 and 10.5.2.462 Patch 2.
The installed Teradata GSS client is 15.10.00.02.  NT-i386
I have done MSAccess linked tables in Access 2016 32 bit with SQL Server and SQLite, and these have worked.
When attempting to do a link-table using the Teradata DSN 32 bit with Office 2016 2016 MSO, 16.0.7030.1021 32 Bit I get the following error message.
Major Error 0x462
Minor Error 000000
Cannot find terasso library
I'm assuming here that the Teradata GSS client is the Terasso library in this error message.
If I ignore this message and just continue, I get the ODBC Mgr screen to enter the password
I enter the correct password and I get 'Not enough information to log on" error.
I have tried 2 different Teradata servers in this location.  Both same results.
I'm have seen some forum posts about VBA issues with Excel 2016 that have not been resolved yet.  This was going to be my next test area.
Could the error with VBA-Excell 2016 and my issue be related?
So, can anyone provide me with a direction to find the solution to this?
Thank you in advance.

Forums: 

Easyloader Schema Error 15.10 Only - response (15) by dlcook

$
0
0

 

Adding --SourceFormat delimited and --SourceFormat "delimited" both produce identical results to above.

 

Adding --SourceFormat 'delimited' produces:

 

Teradata Parallel Transporter Version 15.10.01.02 32-Bit

TPT_INFRA: TPT04187: Error: Line 9 of Local Job Variable File:

The value assignment of job variable 'DELIMITED' lacks a value specification in source file 'C:\Program Files (x86)\Teradata\client\15.10\Teradata Parallel Transporter/logs\TptScript_12160_jv'.

Job script preprocessing failed.

 

Job terminated with status 8.

 

 

Here's the contents of TptScript_12160_jv:

 

SOURCEINSTANCES = 1,

FILEINSTANCES = 1,

SOURCEMINSESSIONS = 1,

SOURCEMAXSESSIONS = 32,

TARGETINSTANCES = 1,

LOADINSTANCES = 1,

LOADMINSESSIONS = 1,

LOADMAXSESSIONS = 32,

DCPFORMAT = 'DELIMITED',

DCPOPENMODE = 'Read',

DCPTEXTDELIMITER = ',',

DCPTRACELEVEL = 'None',

TARGETFORMAT = 'DELIMITED',

TARGETOPENMODE = 'Write',

TARGETTEXTDELIMITER = ',',

LOADTRACELEVEL = 'None',

DCPFILENAME = 'C:\Users\Dave\Desktop\test.csv',

TARGETTDPID = 'tdat15',

TARGETWORKINGDATABASE = 'TestDB',

TARGETTABLE = 'TestDB.TestTable',

TARGETUSERNAME = 'dbc',

TARGETUSERPASSWORD = 'dbc' 

 

Is it perhaps a different keyword?
 
Thanks!

ODBC TimeStamp - forum topic by wgfagundes

$
0
0

Hi Guys,
It's my first topic here, I'm new on Teradata and we are facing a problem with ODBC with Timestamp. Let me explain the situation:
We have a Oracle GoldenGate running on IBM AIX replicating transactions to our Teradata 15.00. In our Teradata we have a Table that has a column with TIMESTAMP(6) WITH TIME ZONE NOT NULL.
When we receive the records from the GoldenGate, the output for this column in this way:

28 I 2016-02-20 23:00:20.065771-00:00

27 I 2016-02-20 23:59:58.065771-00:00

29 I 2016-02-21 01:21:52.065024-00:00

30 I 2016-02-21 01:21:52.065024-00:00

 

But, the output should be this way:

 

28 I 2016-02-20 23:00:20.065771-02:00

27 I 2016-02-20 23:59:58.065771-02:00

29 I 2016-02-21 01:21:52.065024-03:00

30 I 2016-02-21 01:21:52.065024-03:00

 

I've found that ODBC has some limitations with Timezone, do you guys have sometips with this issue?

 

Thank you so much,
 
 
 
 

Forums: 

What is the best way to import multiple tables into Hive from Teradata using TDCH? - forum topic by marlon.howard@shawinc.com

$
0
0

Using TDCH, What is the best way to import multiple tables into Hive from Teradata? Is there an option to move an entire database from Teradata to Hive?

Forums: 

ODBC TimeStamp - forum topic by wgfagundes

$
0
0

Hi Guys,

 

It's my first topic here, I'm new on Teradata and we are facing a problem with ODBC with Timestamp. Let me explain the situation:

 

We have a Oracle GoldenGate running on IBM AIX replicating transactions to our Teradata 15.00. In our Teradata we have a Table that has a column with TIMESTAMP(6) WITH TIME ZONE NOT NULL.

 

When we receive the records from the GoldenGate, the output for this column in this way: 

 

28 I 2016-02-20 23:00:20.065771-00:00

27 I 2016-02-20 23:59:58.065771-00:00

29 I 2016-02-21 01:21:52.065024-00:00

30 I 2016-02-21 01:21:52.065024-00:00

 

Remember that the source(GoldenGate, there is no timezone).

 

But, the output should be this way:

 

28 I 2016-02-20 23:00:20.065771-02:00

27 I 2016-02-20 23:59:58.065771-02:00

29 I 2016-02-21 01:21:52.065024-03:00

30 I 2016-02-21 01:21:52.065024-03:00

 

 

I've found that ODBC has some limitations with Timezone, do you guys have sometips with this issue?

 

Thank you so much,

Forums: 

Best way to generate the Sequential numbers : CSUM or IDENTITY columns? - response (14) by siddarthy

$
0
0

sriteradata88,
 
Use the below query.
 

SELECT 

    start_date

  , SUM(amt) OVER (ORDER BY start_date

                         ROWS BETWEEN CURRENT ROW  

                          AND UNBOUNDED FOLLOWING 

                  )

FROM databasename.test1

ODBC TimeStamp - response (1) by dnoeth

$
0
0

See if this works.
On a session level set the timezone to your local daylight saving timezone:

SET TIME ZONE 'America Brazil';

and then remove the '-00:00' and cast like this:

CAST(SUBSTRING(col FROM 1 FOR 26) AS TIMESTAMP) AT LOCAL

 

Teradata JDBC Driver returns the wrong schema / column nullability - response (15) by jasonmoore2k

$
0
0

I can see why it would be important to preserve existing behaviour, and I think the approach of using a connection parameter as you've described would work well.


PPI - response (33) by kamlesh114

$
0
0

  CREATE MULTISET TABLE SUPPORTDB.TABLE1
(EMPNO INT,E_NAME VARCHAR(100),JOIN_DATE DATE )
UNIQUE PRIMARY INDEX (EMPNO)
PARTITION BY RANGE_N (JOIN_DATE BETWEEN '2015-01-01' AND '2016-12-31' EACH INTERVAL '1' MONTH)

I UNDERSTOOD THAT IN ABOVE CASE TD WONT ALLOW TO CREATE TABLE  BY READING ABOVE EXPLAINATIONS

IN BELOW SCENARION IT WILL ALLOW ME TO CREATE TABLE AS PPI COLUMN IS A PART OF UPI

BUT I AM NOT GETTING HOW TERADATA WILL AVOID FOR SEARCHING EMPO IN ALL PARTITION IF I UPDATE EMPNO IN BELOW TABLE AS THE DATA IS PARTIONED BY JOIN_DATE  NOT BY (EMPNO,JOIN_DATE)
  
  CREATE MULTISET TABLE SUPPORTDB.TABLE2
(EMPNO INT,E_NAME VARCHAR(100),JOIN_DATE DATE )
UNIQUE PRIMARY INDEX (EMPNO,JOIN_DATE)
PARTITION BY RANGE_N (JOIN_DATE BETWEEN '2015-01-01' AND '2016-12-31' EACH INTERVAL '1' MONTH)
 

interview help - response (59) by G787010

$
0
0

Hi,
Could you please share the questions related to FSLDM?
 
Thanks in Advance,
Suwarna S
Mail:swarna.apr13@gmail.com

MULTILOAD BUFFER ERROR!!! urgent - forum topic by krishna1985

$
0
0

Hi All,
 
I am trying to load the 8 mil rows into the target table and when I try to insert into target table then I get the below issue
 
* 16:46:18 UTY1802 Processing Import Sequence 1, Source Sequence 800000.
* 16:46:22 UTY4014 Access module error '17' received during 'pmReadDDparse'
  operation: 'Buffer overflow !ERROR! Not enough room in buffer for another
  record offset=65742 BufferSize=65536 BufferPosition=0'
* 16:46:22 UTY1803 Import processing statistics
  .                                       IMPORT  1     Total thus far
  .                                       =========     ==============
  Candidate records considered:........      884301.......      884301
  Apply conditions satisfied:..........      884301.......      884301
  Candidate records not applied:.......           0.......           0
  Candidate records rejected:..........           0.......           0
* 16:46:22 UTY1821 Aquisition Phase statistics
  Elapsed time:  00:01:03
  CPU time:      15.5 Seconds
  MB/sec:        3.96839
  MB/cpusec:     16.1296
  ====================================================== ==================
 
Is there any why I can increase the buffer size or avoid the error. My Mload script is as below or can I get TPT scrip for the same...appreciate your time....thanks again
 
 
 
.BEGIN MLOAD TABLES UDRBSCMS.BW_CPS_VOL_EXTR_STG SESSIONS 5 ;
.LAYOUT BW_CPS_VOL_EXTR;
 
.FIELD      D_VOL_IN_DT * VARCHAR (300);
.FIELD      D_VOL_OUT_DT * VARCHAR (300);
.FIELD      ACTION_DATE * VARCHAR (300);
.FIELD      CASE_CREATION_DATE * VARCHAR (300);
.FIELD      CSE_ID * VARCHAR (300);
.FIELD      CASE_ID * VARCHAR (300);
.FIELD      PTS_ID * VARCHAR (300);
.FIELD      COMPLETED_TASK  *  VARCHAR (300);
.FIELD      COMPLETED_PRC  *  VARCHAR (300);
.FIELD      TASK_GROUP_NAME  *  VARCHAR (300);
.FIELD      USR_ID* VARCHAR (300);
.FIELD      USER_NAME  *  VARCHAR (300);
.FIELD      USER_GROUP  *  VARCHAR (300);
.FIELD      CPS_SYSTEM_USER  *  VARCHAR (300);
.FIELD      CPS_ACTION  *  VARCHAR (300);
.FIELD      WAC_ID* VARCHAR (300);
.FIELD      WAC_DESC  *  VARCHAR (300);
.FIELD      NEXT_PTS_ID* VARCHAR (300);
.FIELD      NEXT_TASK  *  VARCHAR (300);
.FIELD      NEXT_PRC  *  VARCHAR (300);
.FIELD      NEXT_TEAM  *  VARCHAR (300);
.FIELD      CASE_ACTIVE  *  VARCHAR (300);
.FIELD      LENDNET_SEND  *  VARCHAR (300);
.FIELD      RN * VARCHAR(300) ;
 
.DML LABEL INS;
 
INSERT INTO UDRBSCMS.BW_CPS_VOL_EXTR_STG
(
  D_VOL_IN_DT ,
      D_VOL_OUT_DT ,
      ACTION_DATE ,
      CASE_CREATION_DATE ,
      CSE_ID ,
      CASE_ID ,
      PTS_ID ,
      COMPLETED_TASK   ,
      COMPLETED_PRC   ,
      TASK_GROUP_NAME   ,
      USR_ID,
      USER_NAME   ,
      USER_GROUP   ,
      CPS_SYSTEM_USER   ,
      CPS_ACTION   ,
      WAC_ID,
      WAC_DESC   ,
      NEXT_PTS_ID,
      NEXT_TASK  ,
      NEXT_PRC   ,
      NEXT_TEAM   ,
      CASE_ACTIVE   ,
      LENDNET_SEND   ,
      RN )
VALUES
(
:  D_VOL_IN_DT ,
:      D_VOL_OUT_DT ,
:      ACTION_DATE ,
:      CASE_CREATION_DATE ,
:      CSE_ID ,
:      CASE_ID ,
:      PTS_ID ,
:      COMPLETED_TASK   ,
:      COMPLETED_PRC   ,
:      TASK_GROUP_NAME   ,
:      USR_ID,
:      USER_NAME   ,
:      USER_GROUP   ,
:      CPS_SYSTEM_USER   ,
:      CPS_ACTION   ,
:      WAC_ID,
:      WAC_DESC   ,
:      NEXT_PTS_ID,
:      NEXT_TASK  ,
:      NEXT_PRC   ,
:      NEXT_TEAM   ,
:      CASE_ACTIVE   ,
:      LENDNET_SEND   ,
:      RN
 );
IMPORT INFILE 'BW_CPS_VOLUME_EXTRACT.txt' 
FORMAT VARTEXT ''
 
LAYOUT BW_CPS_VOL_EXTR
 
APPLY INS;
.END MLOAD;
LOGOFF;
 
 

Forums: 

Zero records are fetching when using where statement in TPT - response (22) by Ghalia

$
0
0

Hi,
 
After using LOCK TABLE MY_TABLE EXCLUSIVE
I have an update request
Then , I want to add something like RELASE LOCK from MY_TABLE after the update, in case of fail.
Is it possible in Teradata (14) please ?

Ghalia

Teradata performance mointoring for each querry Jmeter testplan - forum topic by bhushan.koli

$
0
0

Hi,
I am connecting teradata db (located on remote location) from my local machin through
 jmeter 3.0 ,and my testplan contains 20 querries and i want to measure performance (cpu,memory)
for each querry seprately.
Jmeter's perf_mon plugin is available but it will measure whole testplan performance...
 

Forums: 

Problems installing in TDExpress15.00.02_Sles11_40GB - response (11) by juanalfonso

$
0
0

Thanks!
I downloaded and installed the Teradata Express 15.10 VM and It seems to be possible to install SAP DS here :)
But on the other hand, I've fount that UltraVNC (to make a remote desktop connection from Windows) doesn't work when in the 15.00 it did.
Can anyone tell me how to make UltraVNC work in the Teradata Express 15.10 VM?
Thanks and regards

ALTER TABLE on UNICODE character type issue - response (2) by anil_athalye

$
0
0

Thanks,
It worked when I included all the attributes/constraints in the ALTER Table statement.
Ani.


Teradata 14.10 History Window Gone - response (1) by JonManGo42

$
0
0

I have the same problem with SQLA 15.0. I have had access to the History window for as long as I have had SQLA installed. The other day, I closed the History window, and "Show History" is grayed out.

Case statement syntax change? - forum topic by cqhollon

$
0
0

I recently upgraded to Teradata SQL assistant v15.10 and teh database is version 14.00. All of a sudden I get a syntax error on this statement
the error is  Failed 3706 Syntax error: expected something between the 'when' keyword and the 'year' keyword

select a.sourcesystemid
,sum(case when year(a.pnrcreatedate)= 2016 and month(a.pnrcreatedate) = 01 then 1 else 0 end) as "Jan 2016"

Forums: 

When to use Join Index - response (1) by agnit.chatterjee1988

Best way to generate the Sequential numbers : CSUM or IDENTITY columns? - response (15) by siddarthy

$
0
0

Also do use ASC or DESC with the ORDER BY ;)

Case statement syntax change? - response (1) by dnoeth

$
0
0

There's no YEAR or MONTH function in Teradata, this is (deprecated) ODBC-syntax, which might be automatically replaced with valid SQL by the ODBC driver. In older releases of SQL Assistant there was an option "allow use of ODBC SQL extensions in queries", in SQLA 15.10 & ODBC you have to configure your ODBC source: uncheck "Options->Disable Parsing" and check "Options->EnableLegacyParser".
 
A better solution is to use valid Teradata SQL instead:

,sum(case when extract(year from a.pnrcreatedate)= 2016 and extract(month from a.pnrcreatedate) = 01 then 1 else 0 end) as "Jan 2016"

Or better do it without calculation:

,sum(case when a.pnrcreatedate between date '2016-01-01' and date '2016-01-31' then 1 else 0 end) as "Jan 2016"

 

Viewing all 27759 articles
Browse latest View live


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