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

Creating a table - forum topic by Ashutosh

Hi all, PLZ look into this queryCreate table ptemp.ateds as ( select a.ACCT_I,a.Open_D, a.Clse_D, year(a.clse_d) - year(a.open_d) as dte from pvdata.acct_base as a having a.open_d != null and...

View Article


Converting Rows to Columns - response (3) by Adeel Chaudhry

Is it one-time activity? or going to be a continous process?

View Article


Creating a table - response (1) by dnoeth

Hi Ashutosh, this problem pops up all every few days/weeks, the last time was yesterday :-) http://forums.teradata.com/forum/database/length-not-working Replace YEAR(a.clse_d) with EXTRACT(YEAR FROM...

View Article

Check for special character in a string - response (2) by dnoeth

Hi Chandrashekar, if oTranslate is installed it's easier. When you got a specific list of those special characters you might do  WHERE CHAR_LENGTH(col) <> CHAR_LENGTH(oTranslate(col, '/_#.', ''))...

View Article

the meaning of "task" - response (2) by dnoeth

  Hi William, tasks are so-called AMP Worker Tasks (AWT), the "worker bees" of Teradata.  Each step in Explain will require one or more AWTs to do the work, the number depends on the type of step....

View Article


Updating data in a table for multiple records from a file using Import -...

Hi Kumar, the syntax you're looking for is a MERGE INTO, please check the manuals. There's also an old UPDATE ELSE INSERT syntax, but MERGE is more flexible.  Dieter

View Article

Why subqueries in case are not working in teradata? - response (6) by dnoeth

Hi Sahish, if you're on TD13.00 this syntax should run as is, otherwise you have to rewrite it as an Outer Join.  Dieter

View Article

concatenate value of multiple rows into one Single row - response (4) by dnoeth

You should post new questions as a new topic.  Based on your narration you might simply do a RANK instead of ROW_NUMBER?  Dieter

View Article


Volatile table V/S Perminent table - response (4) by KS42982

These all tables that you mentioned keep the data temporarily with different purpose. If you are looking to store the data permanently then you should not use either of these kind. Let us know what is...

View Article


union and filter - forum topic by tclear

select item , location , date , quantity from t1 union select item , location , date , quantity from t2 there will be cases where item,location,date will be the same, but quantity different. in that...

View Article

Teradata Eclipse Plug-in 14.02 does not load in Mac version of Eclipse EE...

There currently is no plan for releasing a fix for this problem sooner than our normal release schedule.

View Article

union and filter - response (1) by dnoeth

A direct translation of should be: select item , location , date , quantity from ( select 1 as x, item , location , date , quantity from t1 union select 2 as x, item , location , date , quantity from...

View Article

Updating data in a table for multiple records from a file using Import -...

  Thanks, Dieter. MERGE INTO function is reqally useful for me in this case when I have only couple records. But, can we use this MERGE INTO along with INSERT INTO? I wanted to update else insert a...

View Article


Automated scripts to import flat files into Teradata?? - response (3) by...

Hi Bill, can you please let me know if this worked for you or is there any other soltuion to it? I have a similiar situation like this: I have created a topic for the...

View Article

Updating data in a table for multiple records from a file using Import -...

Hi Kumar, based on your description i thought you already know how to import using SQLA/BTEQ.  Assuming your data is in a readable delimited format: In SQLA set the delimiter to the correct char (in...

View Article


Updating data in a table for multiple records from a file using Import -...

Thanks, Dieter. I think I got the solution. for this I have created the temporary table and imported data from a file  then by using this temporary table I am updating the actual table using MERGE INTO...

View Article

Move Data does not function Teradata 12 - response (17) by fgrimmer

Brett, I have opened a JIRA issue for the Move Space dialog to use the current (and possibly filtered Databases list). I hope that addresses the performance issue. Our next release is currently planned...

View Article


Handling Special Characters - forum topic by ritwikdey2809

Hi, I have a table which has a column where I can find special characters like &Altide; &Abc; etc. The total list of special characters is 110, I identified them using the logic anything...

View Article

There is another way to remove a volatile table? - response (3) by Fred

HELP VOLATILE TABLE; Will list the Volatile Tables that exist for the current session. You can simply DROP TableName; for any volatile table you want to remove prior to disconnecting the session. For...

View Article

the meaning of "task" - response (3) by williambaldwin

thank you very much !Dieter

View Article
Browsing all 27759 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>