Moving window function - response (3) by quest
Thanks Dieter, this is very helpful. Not only the code is efficient, it is short and well written.
View ArticleUnderstanding Cylinder data storage and FREESPACEPERCENT - topic by tusharraste
Hi. I have a question regarding FREESPACEPERCENT parameter. I have read that this parameter can be overridden at the table level. So in case where we have data of 2 tables residing on a cylinder which...
View ArticleAudit process after the DRI Load completes - response (2) by...
Hi,can any one help me how to get a count of source and target match by joining 2 tables
View ArticleHow to check access privileges?? - response (15) by LUCAS
Hi, I just wonder how to make sure of privileges granted to a user: As a common rule on our site Users are granted on "all" (the whole Database objects) via Roles, including DELETE privilege. I want...
View ArticleUDF creation problem, *** Error 7506 The library for UDF/XSP/UDM...
I’m facing a problem with UDF function creation. Although the UDF has been created, it doesn’t work as you can see below: BTEQ -- Enter your SQL request or BTEQ command: REPLACE FUNCTION...
View ArticleTeradata Error Code 7693 - topic by taruntrehan
Hi, i am calling a utility stored procedure within my application and its failing due to error code 7693. The following is what i see in SQL assistant : "CALL Failed. 7693: ......." Can someone share...
View ArticleDBQLSummaryTbl - response (1) by teradatauser2
Hi all, Could someone please reply to this..thanks !!
View ArticleDBQLSummaryTbl - response (2) by KS42982
You can try different documents on the below link (especially the B035-1093-067A one)...
View ArticleTeradata Error Code 7693 - response (1) by KS42982
Can you put what is the error description and if possible the call statement that you use to execute the procedure ?
View ArticleUDF creation problem, *** Error 7506 The library for UDF/XSP/UDM...
Do you have SYSLIB.oreplace1 defined somewhere before ? If yes, can you please put its definition ? Also, don't understand why you defined SYSLIB.oreplace2 twice because the later definition would...
View ArticleCan 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 ArticleNeed 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 ArticleCan you join using wild cards col_a like %col_b% - response (1) by ulrich
try cards col_a like '%' || col_b || '%'
View ArticleUDF 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 Articlecasting 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 Articlecasting 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 ArticleUDF 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 Articlecasting 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 ArticleProblem 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 ArticleProblem 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