Quantcast
Channel: Teradata Forums - Database
Browsing all 14773 articles
Browse latest View live

Difference between Merge and Update statements - response (1) by dnoeth

Hi Sudhakar, when both sorce and target share the same PI definition you should get AMP-local processing without redistribution, this is one of the advantages of Merge. Could you show some more...

View Article


Is the popular opinion that DELETE ALL doesnt use the Transient Journal true?...

Hi Dieter/Fred, Just want to clear my doubt that if DELETE statement is the last/Only statement whether its a ANSI or  TD mode , it will always Omit the TJ .. Am I Correct here? Please correct me if i...

View Article


qualify rank() over (partition.....question - response (7) by Kanch

Hi Dieter ,   I have the similar requirement with slight change , need your Help in that -  My dataset is as below - Company ID   Effective Date   Status Codes C1                    1st March...

View Article

Training - response (1) by cshanmug

Any good training institute in India to learn Teradata

View Article

Creating a new secondary index on table - response (2) by teradatauser2

Hi Srinivas, Could you please share the sql and explain this a little, that will be helpful.  Thanks !

View Article


DBQLOBJTBL - unknown values - response (4) by teradatauser2

I have posted another question for choosing secondary index on a table. Someone pointed to use this column for taking this decesion. Can anyone share sql and explain how this column value can be use...

View Article

Creating a new secondary index on table - response (3) by pawan0608

You Can use SQL like this  SEL * FROM dbc.DBQLObjTbl WHERE ObjectType = 'Idx' AND ObjectNum = 4 /* or whatever is your secondary index number 8, 12, 16 ... */ AND ObjectDatabaseName = <your database...

View Article

DBQLOBJTBL - unknown values - response (5) by pawan0608

I have responed to your original post

View Article


Any good training center to learn teradata in Bangalore - forum topic by...

Any good training center to learn teradata in Bangalore,IndiaForums: Database

View Article


Division by zero Error - forum topic by SANJI

I'm trying to execute a query which fails on divide by zero error. Can't use a NULLIFZERO because the AJI would be ignored. Following is the query which fails on "SELECT Failed. 2618: Invalid...

View Article

Division by zero Error - response (1) by dnoeth

Is this the actual query? There's no division at all. Is it based on a view with a division in it? Otherwise you might get a "Division by Zero" even when there's no single row with a zero in it if you...

View Article

Division by zero Error - response (2) by SANJI

It's failing on the AVG() function. SELECT DISTINCT C0, C1, AVG(C2) OVER (PARTITION BY C0,C1) AS C5

View Article

Is the popular opinion that DELETE ALL doesnt use the Transient Journal true?...

Hi Nishant, it's a FastPath Delete when there's no Trigger/Foreign Key/Join Index and it's known to the optimizer that it will be commited. i.e. the explain must show the END TRANSACTION step. For ANSI...

View Article


qualify rank() over (partition.....question - response (8) by dnoeth

Hi Kanch, i don't get your requirement, you should post some more data and more detailed explanation, why you need which output. Dieter

View Article

Division by zero Error - response (3) by dnoeth

When you're 100% shure it's failing due to the AVG you should open an incident. AVG(col) is SUM(col)/COUNT(col), a divivion by zero is only possible with be a zero as the result of a COUNT when there...

View Article


Division by zero Error - response (4) by SANJI

Well, i can do the following without errors 1> SELECT * from (Query) 2> SELECT C0,C1, C2 from (Query) But, when i try to do a SELECT C0, C1, AVG(C2) OVER (PARTITION BY C0,C1), it fails with...

View Article

Teradata Viewpoint - forum topic by Smarak0604

In Teradata Viewpoint System Health Portlet, on multiple occasions, I have encountered High CPU Skew or High I/O [More than 80 %] when the number of Active Sessions is Zero. How is this Possible? The...

View Article


qualify rank() over (partition.....question - response (9) by Kanch

Hi Dieter , I am having a company record in table having different status stored  as below - Comapny ID - company identifier Effv Date - Date on which record is getting inserted to table Staus Codes -...

View Article

qualify rank() over (partition.....question - response (10) by dnoeth

Hi Kanch, so you don't want all the changes, just the last one plus the most current row: SELECT * FROM ( SELECT * FROM tab QUALIFY -- get the most current row and all rows where the status changes in...

View Article

LENGTH not working - forum topic by PeterSchwennesen

Hi. I have some problems with Length calculating function in TERADATA. I am using Teradata SQL Assistant 13.11.0.05, some of my colleges are using version 7.????. I cannot use the LENGTH function but...

View Article
Browsing all 14773 articles
Browse latest View live


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