How to Calculate the total IO used by System for a particular week - response...
Thanks Dnoeth, I'll check it out and will get back to you on this. Cheers
View ArticleARCMAIN giving Error 3802:Database '$ARC' does not exist. - forum topic by...
I have installed free version of Teradata Express 14.0x few weeks ago. I am trying to run arcmain to archive some database and then eventually restore it to a difrrent database. I am getting error...
View ArticleARCMAIN giving Error 3802:Database '$ARC' does not exist. - response (1) by...
Oh well, I changed CATALOG to NOCATALOG arcmain SESSIONS=8 NOCATALOG OUTLOG=ARCALLfinancial.log < /root/premfiles/arcmain/arcdatabase.in Do not know the purpose of CATALOG?
View Articleusing a Timestamp value within a dynamic sql statement - response (4) by...
Hi Dieter, That Proc name is also a variable, the value of which is again fetched from that FOR loop only. There are around 10 procedures to be called around 100 times with different set of variables....
View ArticleNot getting the error message from Teradata Macro ( using ABORT option ) -...
Hi, I am trying to pop-up a message by using ABORT option in Teradata Macro ( using Teradata 13 ) like this: CREATE MACRO devdb.macro_test ( my_param integer ) as ( ABORT 'pls input my_param between 1...
View Articlestrtok_split_to_table support only Integer and does not support other data...
Hi all. The 'outkey' returned value must be, according to manuals, either INTEGER or VARCHAR(10), but I've found that it can be a VARCHAR up to 32 characters (exceeding this limit, you get error 9134...
View ArticleCapturing ERRORCODE in BTEQ from stored Procedure - response (2) by sillian
Hi, i have the same problem but can solve it. The stored procedure returns an error code but is not captured by Bteq, here is an example log: Call SP_NAME('DB_NAME','TABLE_NAME'); *** Error 2825 NO...
View ArticleExperiencing Challenges with TimeStamp in Teradata - response (2) by mmbratz
Thank you very much to you, i see what, perhaps you can assist, what am basically trying to do is Automate Reports Using Reports Services Tool, so i'm trying to get a date Syntax that i will use so...
View ArticleExperiencing Challenges with TimeStamp in Teradata - response (3) by mmbratz
meant to say " i see what you mean"
View Articledbc.qrylog - forum topic by mayanksh
Hello, Can some body please help me with some query through which I can see what queries a particular user has fired using teradata sql assistantce as when I'm using dbc.qrylog it just showing with...
View Articledbc.qrylog - How to see which all query fired previous days. - forum topic by...
Hello, Can some body please help me with some query through which I can see what queries a particular user has fired using teradata sql assistantce as when I'm using dbc.qrylog it just showing with...
View ArticleFor joins NUPI can be a better choice than a UPI - forum topic by barani_sachin
Hi All, I have read that "For join performance, a NUPI can be a better choice than a UPI." Someone please explain why is that? If it is a PI join then it is an same AMP operation how does NUPI will...
View ArticleSystem Views DBC.COLUMNSTATS & DBC.MULTICOLUMNSTATS not existig in TD 14 -...
Hey All I have a procedure which creates dynamic SQL statements to collect stats on table after its loaded. The procedure gathers stats from two tables DBC.COLUMNSTATS & DBC.MULTICOLUMNSTATS. Now...
View Articleno data condition with dynamic result set - response (2) by j355ga
Did some testing and the NOT FOUND handler does not trigger for a dynamic result set. When the NOT FOUND handler is removed then the update returns a run time error: invalid statement specified in a...
View ArticleComposite Secondary Index- - forum topic by Nishant.Bhardwaj
Hi Experts, We have a query which summarise the data based on 2 column col_A and col_b of a table .. if we decide to create Secondary Indexes on col_a and col_B then individual SI's on col_A and col_b...
View ArticleInserts within Strored Procedure - forum topic by amerbaig
Hi, We have a table (T1) that contains ranges (~25K ranges) that needs to be converted into individual value i.e. breaking range and inserting into a new table (T2). fields are separated with commas...
View ArticleComposite Secondary Index- - response (1) by j355ga
Generally, the individual indices would be helpful for access and the optimizer might be able to do a bit map with them if they are weakly selective alone. The 1 or 2 col index would be used for a...
View ArticleComposite Secondary Index- - response (2) by Nishant.Bhardwaj
thanks Jeff for the quick reply.. In case the col_a and col_b are highly selective then do we go for composite index on (col_A,co_b)? also why do we call it a covered query? are there are some scenrios...
View ArticleComposite Secondary Index- - response (3) by j355ga
There is no way to guess which is better - you will need to experiment. Try both single and two col index. Review the EXPLAIN plan for both. Compare the performance of no SI, single SI and two col SI...
View ArticleComposite Secondary Index- - response (4) by j355ga
Nishant have you read this blog on SI?http://developer.teradata.com/database/articles/indexes-too-much-of-a-good-thing
View Article