Do macros only support ANSI sql? - response (3) by ulrich
try select * from t_1 outer join t_2 on t_1.some_id = t_2.some_id;
View ArticleDo 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 ArticleSocket Error 804 - response (9) by yeyuancn
We saw this error on a customer's site when running a query like "select A.DatabaseName,A.TableName,A.TableKind FROM DBC.TablesV A WHERE TableKind = 'T' OR TableKind = 'O'". We suspect it is the...
View ArticleBTEQ .EXPORT DIF Column HEADER ISSUE - topic by yogeshDhole
Hi, I am trying to export SQL output to excel file using .export DIF. I am getting SQL output but coulumn header is getting supressed. REPORT option outputs column header but output in excel is in a...
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 ArticleViewpoint configuration problem - response (1) by Fred
When you look at Admin / Teradata Systems, are there red triangles by the data collectors? If so, hover the mouse cursor over them to see the error details. You could also try restarting the data...
View ArticleDo macros only support ANSI sql? - response (5) by ulrich
PS. it has to be right outer join or left outer join
View ArticleBteq script required to validate record count of Source and target table. -...
I have 3 sources and a target with 3 instances of it. I want a post session failure, i.e. after the session succeds, if we find there is a mismatch in record count of source and target, then the...
View ArticleODBC setup error for Oracle Client - topic by babu.sreeram
Hi, I'm trying to setup ODBC connection for my Oracle client while installing BO. Following are the steps I followed. read more
View ArticleBteq script required to validate record count of Source and target table. -...
You just have to add a HAVING: sel( ( sel count (*) from src_tab_1) + sel count (*) from src_tab_2) + sel count (*) as x from src_tab_3) - sel count (*) from target_tab)) having x <> 0; .if...
View ArticleCalling a macro via JDBC - topic by opolm
Hi, I'm trying to call a Teradata macro via JDBC. I'm using the following code read more
View ArticleBteq script required to validate record count of Source and target table. -...
i think 'X' as an alias should come before 'having'
View ArticleBteq script required to validate record count of Source and target table. -...
And we may have to use WHERE instead HAVING have a try Sayak.....
View ArticleCalling a macro via JDBC - response (1) by ulrich
From the JDBC documentation Teradata Database Macros A Teradata Database macro consists of one or more SQL statements. Macros can be executed using Statement.execute() method. The application can...
View ArticleCalling a macro via JDBC - response (2) by tomnolan
Ulrich is correct that the execute method must be used for executing a macro, not the executeUpdate or executeQuery method. However, those methods are all overloaded, meaning multiple method...
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 ArticleBteq script required to validate record count of Source and target table. -...
Thank u....dnoeth & Babbi......it worked...cheers...!
View ArticleDevising a comprehensive process for "Collect Stats" on the entire EDW -...
Has someone updated these queries for Teradata 13.10? Giovanni
View ArticleSupport for Named Parameters in .NET Provider - topic by penfold_001
Hi, I am new to Teradata and I am having to port some dynamically built queries that currently run against Oracle over to Teradata. The current queries use named bind variables in the SQL with the...
View ArticleDevising a comprehensive process for "Collect Stats" on the entire EDW -...
Here you are: http://developer.teradata.com/node/9598 Dieter
View Article