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

Need to calculate using LEAD, LAG function - topic by arbiswas

Dear Experts, I am stuck with the below issues. Pls help.   The below example shows the leave records for an employee id 31750. We need to calculate the leave duration. Here EMPL_STATUS='LEAVE'...

View Article


Can you join using wild cards col_a like %col_b% - topic by dsldsl1980

I know you can use wild cards in your where clause to filter results but how can you join on them?  IE: I have 2 tables Table1 column = 'Teradata is great' Table2 column = 'data' How can I get these 2...

View Article


SNMP traps - changing severity of messages - response (2) by StevenSchmid

Hi Thanks for replying. We are sending alerts to HP BSM. I tried sending a database space alert from Viewpoint, and set the severity as CRITICAL, however BSM reported it as normal.  The alert was also...

View Article

Error: 3504 " Selected non-aggregate values must be part of the associated...

Hello, I try to run this sql statement but I've got an error 3504 which idicates the selected non-aggregate values must be part of the associated group. Could you please help? Thank you,   read more

View Article

why database links not used - topic by cheeli

Hi experts, Can you please let me know why there is no concept of database links used in teradata? 

View Article


Spool space issue while Inserting into Table - response (6) by smplisri

Hi,   Sorry, was held up with something else. Yes, there was skew for that. I have dropped the target table and then recreated it with TLFR_NUM column which was near to Unique values. The query ran...

View Article

Can you join using wild cards col_a like %col_b% - response (1) by ulrich

try  cards col_a like '%' || col_b || '%'  

View Article

UDF creation problem, *** Error 7506 The library for UDF/XSP/UDM...

Hi. No, I don't have SYSLIB.oreplace1 defined anywhere else and I haven't defined SYSLIB.oreplace2 twice, the second time what you can see it's just echo. Here is an additional info bteq output: BTEQ...

View Article


Oracle to Teradata Import using BTEQ(Flat file) - topic by vijayshankar245

Hi, I have been trying to export data from oracle to teradata.Script to export data to flatfile from oracle source CONNECT user_id/*** SET SPACE 0 SET LINESIZE 300 SET PAGESIZE 500 SET ECHO OFF SET...

View Article


FAILURE 2673 SOURCE PARCEL LENGTH DOES NOT MATCH DATA THAT WAS DEFINED -...

Hi, I am trying to export data from oracle to Teradata.I use the following script to load data to flat file       CONNECT usr_id/pwd SET SPACE 0 SET LINESIZE 300 SET PAGESIZE 500 SET ECHO OFF read more

View Article

casting 6 digit integer to date - topic by m_v_anita

This is a situation i'm facing in production. one batch job has failed in the following query     read more

View Article

casting 6 digit integer to date - response (1) by rajeev saravanan

Hi Anita, We can pass integer values to date columns, but they should result in valid dates The dates are stored as integer as per the following logic ((Year - 1900) * 10000) + (Month * 100) + Day For...

View Article

UDF creation problem, *** Error 7506 The library for UDF/XSP/UDM...

Oh k. All UDFs/XSPs/UDMs are linked in a dynamic linked library or in a package which must exist on all nodes on the database system. And it looks like, the library for this UDF/XSP/UDM could not be...

View Article


casting 6 digit integer to date - response (2) by dnoeth

It run successful before year 2013 :-) select 201212 (date); *** Query completed. One row found. One column returned. *** Total elapsed time was 1 second. 201212 ---------- 1920-12-12You need to adjust...

View Article

Problem With High PJI - topic by rajeev saravanan

Hi, I am having a tough time as my query is getting aborted due to abnormal PJI values. The query in question tries to create a volatile table from another volatile table using a subquery basically its...

View Article


Problem With High PJI - response (1) by CarlosAL

PJI is CPU intensive operations indicator. As you say, you have a lot of CASEs, which may be at the botom of your problems. Complex operations may also be CPU intensive and show as high PJI. Others...

View Article

How to store a field value of a table column into variables in Stored...

Hi all, I would like to put a value from a column field int a variable and I cannot find a way how to do it in Stored procedures. What I would need: to count number of rows of a table and compare it...

View Article


rename USI/NUSI - response (1) by knowledge

no one have 1 minute for to reply me? it's possible to rename the USI or NUSI? THX

View Article

"load_from_teradata" error - response (1) by Sudheer501

Hi,  Were you able to resolve this issue ? I'm trying to load data from Teradata and keep hitting this error.   ERROR:  load_from_teradata must be invoked on an empty, partitioned table Please refer to...

View Article

Teradata Studio Express won't start up - response (2) by sri_mitta

I did not find .ecliplse under (%HOMEDRIVE%%HOMEPATH%. But what did was, changed values from 256 to 512 in TeradataStudioExpress.ini file and it worked, I was able to successfully launch Teradata...

View Article
Browsing all 27759 articles
Browse latest View live


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