Quantcast
Channel: Teradata Forums - Database
Browsing all 14773 articles
Browse latest View live

Best way to generate the Sequential numbers : CSUM or IDENTITY columns? -...

Hi Dheem, when you check the QueryLog after running a CSUM(1,1) you'll notice that a single AMP (usually vproc 0) processed all the data, high cpu/io and spool. For OLAP functions there's a...

View Article


Error while casting to decimal! - response (1) by dnoeth

What is the datatype/format of a25? Can you show some data? Dieter

View Article


MultiLoad Utility - forum topic by Enzopre

Hi at all, I'm a new entry in this forum and I'm a beginner with use of teradata DataBase. I'm a bit confused about the Task concept regarding to Multiload/TPump utilities. What i do not understand is...

View Article

Use of a Primary Index - response (15) by trustngs

Hi, There is table defined with PI(Sale_date,store_num,item_num) and NUSI on item_nbr. Queries currently perform a full table scan, even though the users are providing join criteria for all primary...

View Article

Partitioned primary index - response (7) by trustngs

Hi, There is table defined with PI(Sale_date,store_num,item_num) and NUSI on item_nbr. Queries currently perform a full table scan, even though the users are providing join criteria for all primary...

View Article


FULL PRIMARY INDEX - forum topic by Enzopre

HI at all I´m new on Teradata and I'm studying the TPUMP utility from official documentation "Teradata Parallel Data Pump". At some point in the chapter 1 section "What it Does" the document tells:"The...

View Article

FULL PRIMARY INDEX - response (1) by dnoeth

Full simply means all columns of the PI, e.g. if it's PI(colA,colB,colC) you must specify all three in the WHERE-condition. Dieter

View Article

MultiLoad Utility - response (1) by dnoeth

A task is the part of the script between BEGIN and END LOAD/MLOAD, i.e. the actual loading. Before and after this there might be Support Environment commands, i.e. preparation and cleanup of the job,...

View Article


Listagg, wm_concat or Group_concat equivalent in teradata - forum topic by...

 I want to aggregate as "comma-separated values" within a "group by", like MYSQL group_concat:SELECT dept, GROUP_CONCAT(ename) as employees FROM EMP GROUP BY dept;or ORACLE listagg:select dept,...

View Article


Error while casting to decimal! - response (2) by barani_sachin

Dieter,    The datatype for the column is output of an expression (col1*col2* and sumthing lyk dis). The result has almost 55Mill distinct values, so i am not sure where it is failing and still if u...

View Article

How to find a particular table in Teradata is locked using SQL query? -...

Hi, Whether the MLOAD HUT locks can be viewed using SHOWLOCKS utility? Please advise.

View Article

Terradata training - Hyderabad - forum topic by anveshs

Hi, I am looking for a good institute where I can learn terradata in Hynderabad.Please suggest. Thanks.Forums: Database

View Article

TOP vs QUALIFY RANK to fetch records - forum topic by mithunk

Which is the best option in means of performance ? selecting rows using top clause without any order by clause (or) selecting rows using qualify rank() over() =1 ? Tags: qualify top rankForums: Database

View Article


TOP vs QUALIFY RANK to fetch records - response (1) by dnoeth

Hi Mithun, you can't use RANK without ORDER BY, so TOP will be more performant. When you need an ordered output there will be no difference in speed. Dieter

View Article

Error while casting to decimal! - response (3) by Adithya

Can you tell the datatype of col1,col2 and other columns that are used to calculate a25.

View Article


Cast CHAR/VARCHAR to VARBYTE - response (3) by veskojl

The data is already stored as string. I want to search it, checking if it contains given ASCII code or not.

View Article

disable enable logons - response (2) by mikesteeves

That would certainly work to revoke the specifc users access but I'd need to know what they had so I could indivifulally grant it back to them as the test progresses.  Also, can you tell me what the...

View Article


Query Rewriting. - response (1) by barani_sachin

Hi, anyone pls confirm whether both the snippets/logics are doing the same thing??

View Article

Error while casting to decimal! - response (4) by barani_sachin

Adithya,    This is the complete expression sel col1 + POWER( b.col2 , 2 ) * c.col3 AS a25 here col1 & col2 are decimal (12,0) and col3 is integer. What baffles me is when i tried to cast as...

View Article

Error while casting to decimal! - response (5) by dnoeth

You might open an incident with Teradata support, the possible range of values the result should fit into DEC(38,2), at least it worked when i just tried it. If there were only decimals i would assume...

View Article
Browsing all 14773 articles
Browse latest View live