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

How to calculate space taken by a volatile table? - forum topic by...

 Hi Experts, I was having a discussion with one of my peer regarding the table size calculation for a VT.   As VT is not stored in any of the Db and is local to user which is currently logged in.  As...

View Article


Cloning a user including access rights - response (2) by cnaveen05

Are you using ROLES to assign access to individual users or doing it one at a time? Using roles you would just have to give the access once and align all the users to the ROLE.

View Article


Performance tuning for a tpump script- - forum topic by Nishant.Bhardwaj

Hi Experts, There is a tpump which is taking 10 hours to process 7000 records, whcih earlier was taking 1 hour..  not sure why its taking  so long now. the script cotains the normal insert select...

View Article

SQL rewrite - Group by - response (2) by TcognosD

Thanks, but this give Syntax error: expected something between '(' and '*'.

View Article

Teradata Hot-Back up - response (1) by mayya@teradataforum

Hi, Please anyone clear my above doubt on locks during back-ups.

View Article


Cross tab - Pivot - response (3) by elvicio

Hi Dieter, I have a few TD tables that I needed to do rowcounts.  e.g.        count(*) from TableName. Now, the result of the count is going to a temp table.  Once I get all the counts inserted into...

View Article

selected non-aggregate values must be part of the associated group - response...

Does that means I have to put all the select columns in Group By? I'm converting a mysql to teradata sql, in that query Select is calling 20 columns but Group by just have 2 columns (1 of which is not...

View Article

How to calculate space taken by a volatile table? - response (1) by dnoeth

Hi Nishant, Volatile Tables are stored within spool space, you can only SUM(CurremtSpool) to get the spool size of all current sessions of that user (of course including the spool in use due to an...

View Article


Performance tuning for a tpump script- - response (1) by dnoeth

Hi Nishant, 7000 records in 1 hour? My TD Express should load that within a few seconds. Did you check if there were locks/deadlocks? Better use SERIALZE on the PI columns. Is the target table SET and...

View Article


SQL rewrite - Group by - response (3) by dnoeth

I just checked my query in SQLA and it only complained about the missing table :-) I would expect this error when there was a type in COUNT(*), better check your query.  Dieter

View Article

SQL rewrite - Group by - response (4) by TcognosD

Thanks, Dieter.

View Article

Teradata Hot-Back up - response (2) by dnoeth

Hi Mahesh, what activity is allowed during an Online Backup depends on your release. An overview is found in Chapter 10: Archiving, Restoring, and Recovering DataT of the "Databasa Administration" and...

View Article

Cross tab - Pivot - response (4) by dnoeth

Hi Raymond, what if number of tables increases and you finally hit the 2048 columns in a table limit :-) For me it would be much easier to compare those counts when they are rows in a table.  Dieter

View Article


Creating Table In Stored Procedure.... - response (3) by elvicio

Thanks a lot.  This helped me as well as I thought i had that many errors.  

View Article

selected non-aggregate values must be part of the associated group - response...

Yo're right, whenever there's an aggregation all other columns must be in GROUP BY. MySQL considers some bad practice as valid SQL, but all other DBMSes consider that illegal :-) What does MySQL...

View Article


selected non-aggregate values must be part of the associated group - response...

Gotcha! the result is same :) Thanks a lot. I'm selecting 20 columns in query is there any shortcut for GROUP BY 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20 ??? thats too much for bigger queries.

View Article

selected non-aggregate values must be part of the associated group - response...

GROUP BY 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20 is aleady a shortcut :-) Most DBMSes require to explicitly list all column names instead of column numbers.  Dieter

View Article


SQL question? - forum topic by TcognosD

SEL  CAD.CUST_ACCT_KEY, CATD.CUST_ACCT_MKT_DESC,  CASD.CUST_ACCT_STAT_CODE, ETD.RCVR_TYPE_DESC, ETD.EQUIP_BUS_CAT_DESC    FROM CUST_ACCT_DIM AS CAD  JOIN CUST_ACCT_STAT_DIM AS CASD      ON...

View Article

Why can we have UPI only when PPI column is part of PI - response (1) by terasum

Any help is appreciated !!

View Article

using a Timestamp value within a dynamic sql statement - response (2) by...

Hi Dieter, Casting that Timestamp variable into a varchar is working fine. I also had a doubt whether we are able to call a procedure dynamically within another procedure. But when i ran after casting,...

View Article
Browsing all 14773 articles
Browse latest View live


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