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

How Can User Change Password? - response (2) by usmans

Thanks Dieter, This solves it then. 

View Article


VMWare Teradata 14.00 - Error while loading data into table - response (2) by...

Hello, I am running this command from inside the VMWare. 

View Article


VMWare Teradata 14.00 - Error while loading data into table - response (3) by...

Thanks. Now the problem got resolved. No change in host file is required if running from within vmware. I missed out the -h parameter while invoking the tdload command. The tdload command is tdload -f...

View Article

VTT vs GTT - response (10) by Raja_KT

Hi Dieter,  In the TD document it is given. Also I see that it is justifiable since, GTT can be  shared across multiple users. So a lookup may be slightly more time-consuming than VT. Anyone having a...

View Article

Which column should i select for Index creation - response (5) by Qaisar...

I would go with Col4, as the data on both the AMPs is distributed equally, 50 & 51. In your case you can choose either one as the data count is small thus the PI selection won't make too much...

View Article


Big table - very big table join - response (3) by dhirajpalse

This would go for HASH join where smaller table (REP) is duplicated on all AMPs based on hashing CUST_KEY. If it is a frequently used query, then creating hash index on REP table is a good option. This...

View Article

Help me to improve the query performance - forum topic by Gowtham

Hi all, When am trying to run the explain plan of the below query, at the end of the plan it is stating'We spoil the parser's dictionary cache for the table, No rows are returned to the user' we done...

View Article

Rights on View and macro and underlying tables - forum topic by...

Hi All, Why is that even if a user does not have required rights on tables under lying in a macro can execute the macro if the user has execute right on that macro? Why is that even if a user does not...

View Article


Help me to improve the query performance - forum topic by Gowtham

Hi all, When am trying to run the query, it is taking 20hrs to run the query. we done the collect stats for all the tables by giving Diagnostic collect stats help me to improve the query performance....

View Article


Does Teradata support database/schema aliases - response (3) by Dixxie

kdimov, In teradata there is no concept of schema (as understood in other RDBMS) Database.schema.user.object You can not have two tables under different schemas in the same database. Regards.  

View Article

Is this the casting error? - response (2) by shankerao

hi dnoeth,  I have data like 123456*12 ..I need data before * as one column and after * as other column ..but when i run below statement its throwing me an error 2662..Please help.  cast(substring(ID...

View Article

Is this the casting error? - response (3) by Qaisar Aftab Kiani

select substring(ID from 1 for index(ID, '*')-1), substring(ID from index(ID, '*')+1 for char_length(ID)) 

View Article

Help me to improve the query performance - response (1) by venkylingutla

provide ur original Query. you are joining table1field with all other tables which will create product join and its product degradation.  Thanks, Venkat

View Article


Auto select on PI - response (4) by graebige

Sorry, I made myself not very clear - I would like to know how to find what clumn is a metric or dimension in any given table. Once I know that I could run the following SQL to compare pre-post and...

View Article

How to calculate moving sums within variable size windows? - forum topic by...

Hi! I am trying to calculate moving sums and row counts in a query, to do further arithmetic on the said values. For a range of 3 days, for example, I would sum the values given in the rows for those 3...

View Article


How to calculate moving sums within variable size windows? - response (1) by...

..and the TD version is 13.10

View Article

RANK - forum topic by SabelSweden

Hi, I have a table like this: ALTKN     DOCNUM                    KUNNR 000015  0000000058789756 198520 000015  0000000058843478 198520 000015  0000000058891716 198520 I will only get the row with the...

View Article


Creating Group ID from SUM Limit - forum topic by saraider99

I have a list of products and a count corresponding to the quantity sold in a single table. The data is laid out as such: Product Name     QTY_SOLD Mouse                       23 Keyboard...

View Article

Creating Group ID from SUM Limit - response (1) by saraider99

I meant to say, I want to create a group ID where groups are created if the ROLLING sum of the quantity sold is greater than 50. 

View Article

RANK - response (1) by msk.khurram

SELECT ALTKN, DOCNUM, KUNNR FROM TABLE_NAME QUALIFY ROW_NUMBER() OVER(PARTITION BY ALTKN ORDER BY DOCNUM DESC) = 1;  

View Article
Browsing all 14773 articles
Browse latest View live


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