Do macros only support ANSI sql? - response (4) by tom.gnade
Ok thanks. I was trying to avoid rewriting the whole thing its 1000+ lines in a single select statement. Here goes...
View ArticleCan we create PPI in DATE format MMM-YY? - topic by pavan.polish
Hi Team, I have a column which is in the format MMM-YY of DATE. Can we create PPI on this column as this is huge table. Thank you in advance. Regards, Pavan
View ArticleDo macros only support ANSI sql? - response (5) by ulrich
PS. it has to be right outer join or left outer join
View ArticlePartition Elimination not happening in Fact through Time Dimension filter. -...
Hi Folks, I have a case in my Reporting Layer where a huge fact is accessed be passing filters through the time dimension.The Problem I am facing is that when I give a single date filter in the...
View ArticleDevising a comprehensive process for "Collect Stats" on the entire EDW -...
Has someone updated these queries for Teradata 13.10? Giovanni
View ArticleDevising a comprehensive process for "Collect Stats" on the entire EDW -...
Here you are: http://developer.teradata.com/node/9598 Dieter
View ArticleProblems with dynamic creation of Volatile tables - response (9) by neilotoole
@ratzesberger: it'll be coming soon... add any other items to the wishlist here: http://forums.teradata.com/forum/general/wish-list-for-forum-development...
View ArticleHow do I retrieve the most recent used autonumber?? - topic by coffee
I see this question everywhere. I sure hope there is an answer. Use case: Master table that has a column (id) with "generated always as identity..." so it will create the unique id. Other tables...
View ArticleString manipulation using macros - topic by bhanu.gorthy
Hi I am very new to teradata and has the following task at my hands. I have an table (texttable) with a column content varchar(4000). The data within this content column looks something like this. some...
View ArticleFailure 9128 The transaction exceeded the maximum number of rowhash locks...
Hi, I also came across the same error today. Could find the details about this error in TD Error Messages pdf (1096) for v13.10. Pasting it here. 9128 The transaction exceeded the maximum number...
View ArticleString manipulation using macros - response (1) by ulrich
You will have trouble to do this with standard functions like INDEX and SUBSTRING as you don't now how many %value% things are in the string. Minimum requirement would be to have some string parsing...
View ArticleHow do I retrieve the most recent used autonumber?? - response (3) by coffee
Really? Noone knows? I'm in the process of migrating xsl generated inserts from a sql server system to Teradata. I'm new to Teradata sql. In sql server @@identity returns the just created auto id...
View ArticleString manipulation using macros - response (2) by bhanu.gorthy
Thanks Ulrich, Thank you for the suggestion I thought of that route but had to leave it, as I am not sure if I can do this in the client environment.
View ArticleRE: Stats collection and Performance - topic by chand308
Hi, I am having two questions related to collect stats. 1) I using Diagnostic HelpStats On For Session to know the recommended stats. Even after collecting the stats on that column, it's still showing...
View Article2616: Numeric overflow occurred During computation - response (1) by...
Hi, Please check if the datatypes of columns in source and target match exactly if not use cast() Thanks, Vijayshankar
View ArticlePartition Elimination not happening in Fact through Time Dimension filter. -...
Hi Manik I faced similar issue in ETL, but solved using stored procedures. In my case Partition elimination->join and full table scan>join had time difference of huge 30 Min. Filter,...
View ArticleHow do I retrieve the most recent used autonumber?? - response (4) by ulrich
Teradata is a MPP system, so data is distributed and processed in parallel. So this is implemented differently- In easy words: To become not sequencial the identity process is done Vproc specific and...
View ArticlePivot Data by Month - topic by mattie4
How would I make this result look like the second result? read more
View ArticlePivot Data by Month - response (1) by ulrich
Can you please provide a DDL and insert statement for your test data? It is not really clear if state_ind has the values '1 AL' etc. And does the source table contain already the columns July and...
View Article