Should a SCD table contain a UPI including date fields or use a natural key?...
Tables that have historical records may always not be used with condition on Date columns. In most cases we would be interested only in the latest active record; While rarely a retrofit run (back dated...
View ArticleDelete or Drop a table if it already exists - response (13) by dnoeth
You run the code unchanged when you want to drop the table ACCT_BASE in the database C917348, otherwise replace database and tablename accordingly. I don't know why the link is not working again, it...
View ArticleGetting a unique value for VARCHAR field. - response (6) by dnoeth
Hi Suhail, of course you can use the function as-is, pre-13.10 just doesn't support SQL functions. The basic calculation is like getting a year-month out of a year and a month: year * 100 + month =...
View ArticleSecondary Index - response (5) by trustngs
Hi, Say, a table is having one column NUSI and stats are collected on that index. What will happen to stats when the NUSI is dropped?
View ArticleSecondary Index - response (6) by KS42982
If the stats are collected on the index (NUSI) and NOT on the column then stats would be dropped if you drop the index.
View ArticleIncrease the size limit of teradata objects name from 30 characters to more....
Thanks for the info Todd.
View ArticleFailed. 3710: Insufficient memory to parse this request, during Optimizer...
Did you ever get a solution to this problem? We just upgraded our TTU client to 13.10 and now a complex query that was running succesfully in the TTU version before is throwing this error on...
View ArticleHello, I am preparing for the teradata basic certification and I want the...
1) option B (time sharing) 2) options A and C (not 100% sure about C though) Good luck for your exam !
View ArticleSecondary Index - response (7) by dnoeth
If stats are collected on a single column NUSI and that index is dropped, the stats are *not* dropped. This only happens for multi-column NUSIs, but not in TD14 anymore. Dieter
View ArticleSpace in the database - response (3) by dnoeth
One suggestion: instead of "SUM(CurrentPerm)" you should consider using "MAX(CurrentPerm) * (HASHAMP()+1)" because this includes wasted perm due to skew. This the minimum perm space needed to store the...
View ArticleHow TD Analytical Functions Are Implemented? - response (2) by dnoeth
Hi Igor, afaik in the manuals there's not much details on the internal implementation of OLAP functions. - OLAP functions might skew in spool, cause the data is distributed based on the PARTITION/ORDER...
View ArticleGetting started - topic by eng_hema
Hello I am new in teradata world , i used to use Oracle as my database. if any one can tell me from where to start learning teradata concepts, and what is the difference between oracle and teradata in...
View ArticleSpace in the database - response (4) by KS42982
Thank you. Do you have any suggesion for my second question ?
View ArticleSpace in the database - response (5) by dnoeth
If it's a large number of rows you calculate the average rowsize based on datatypes, add the row overhead (14+ bytes) and multiply times the number of rows. This is the approximate size of the...
View ArticleTeradata TPT Script - response (16) by ericsun2
Hi feinholz, It seems that we can't refer schema definition from job variable. I have the following generic TPT template: USING CHARACTER SET UTF8 DEFINE JOB EXPORT_TO_INDICDATA_FILE_FORMAT DESCRIPTION...
View ArticleNeed Help with Teradata ODBC driver on Oracle/AIX - response (3) by Fred
Bookmarked links don't always work if the site has been restructured. For the ODBC driver or other publicly available software, use the Downloads link on the Developer Exchange (DevX) home page or go...
View ArticleTeradata TPT Script - response (17) by feinholz
You are getting a syntax error because the variable substitution is substituting everything, including the single quotes. And those single quotes are causing the syntax errors. This is not really the...
View Article