Quantcast
Channel: Teradata Forums - All forums
Browsing all 27759 articles
Browse latest View live

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 Article


Delete 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 Article


Getting 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 Article

Space in the database - response (2) by KS42982

It worked fine. Thanks a lot !

View Article

Secondary 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 Article


Secondary 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 Article

Increase the size limit of teradata objects name from 30 characters to more....

Thanks   for the info  Todd.

View Article

Failed. 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 Article


Hello, 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 Article


Hello, I am preparing for the teradata basic certification and I want the...

1 A 2 A+B Dieter

View Article

Secondary 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 Article

Space 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 Article

How 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 Article


Getting 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 Article

Space in the database - response (4) by KS42982

Thank you. Do you have any suggesion for my second question ?

View Article


Space 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 Article

Teradata 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 Article


Space in the database - response (6) by KS42982

That is very helpful. Thanks.

View Article

Need 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 Article

Teradata 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
Browsing all 27759 articles
Browse latest View live