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

Dynamic SQL - Stored Procedure - response (2) by dnoeth

You're right, your code is not working. And the error is easy to spot :-) You expect us to fix it without even telling the error message?  Dieter

View Article


How to reduce skew factor on stage tables with NoPI? - response (5) by dnoeth

In TD14 there's also a new option for INSERT/SELECT into NoPI tables, HASH BY RANDOM, to reduce skew.  Dieter

View Article


PPI or NUSI? - response (3) by dnoeth

Hi Nishant, access with partitioned column alone (with out PI) will not be that much efficient as it would have been with PI + partioned column.. agree? No. When only the partitioning column is used...

View Article

PPI or NUSI? - response (4) by TD_Raj

Hi Nishant If you are creating your date column as PPI , then using the column in filter condition will lead to partition elimination and will enhance the performace. You may come across situation when...

View Article

Dynamic SQL - Stored Procedure - response (3) by TD_Raj

Hi  Try something like this:  DECLARE T2 CURSOR FOR SELECT TD_TBL_NM FROM DB_S.TBL_LIST OPEN T2; LABEL1 : LOOP FETCH T2 INTO TABLE_NAME; /* TABLE_NAME is a variable here */ /* DO SOME DML OPERATIONS */...

View Article


Calculating the actual query run time - response (8) by TD_Raj

CPU time is the CPU seconds used by the query. So depending on the Capacity at which your TD system is set ; you will have some amount of CPU seconds in a day. So how much CPU seconds are used by the...

View Article

Size of table with partial data (active records) - response (3) by TD_Raj

SELECT databasename, tablename, SUM(columnlength) ROWSIZE, COUNT(*) columncount FROM dbc.COLUMNS WHERE databasename LIKE '%XXX%' AND TABLENAME='YYY' GROUP BY databasename,tablename;   This method is...

View Article

Strange error regarding data type - response (1) by TD_Raj

Hi Kindly share the complete scenario. If it is simple insert select then this should work fine.  -- Raj

View Article


Improper column reference in the search condition of a joined table - forum...

Through process of elimination the 3782 error seems to be caused by the T1.KSN_ID in the on clauses of the query. I don't know what to do to fix this. Any help would be appreciated...Thanks  SELECT...

View Article


What's the quickest way to find out all the values under an attributes -...

thanks. Lot of info I don't even know how to make sense, but I got what I needed.  Column Name Type Nullable Format Max Length Decimal Decimal Fra Indexed? Unique? Primary? Char Type Temporal Column...

View Article

Improper column reference in the search condition of a joined table -...

The ON clause may only reference the two tables on either side of the JOIN clause. To reference other tables you must put those conditions in a WHERE clause.

View Article

Teradata database restart? - response (1) by ToddAWalter

When a node fails - that is not currently a spare node - Teradata will restart no matter what the configuration. If hot spare is available, then the AMPs from the failed node will move to the hot spare...

View Article

Size of table with partial data (active records) - response (4) by Rajgopal.v2

Yes, I will Agree with you this wont give exact row size, It give avg row size.... Did you have any Solution to find exact row size or to calculate the size of partial records in a table. Please help...

View Article


Teradata database restart? - response (3) by barani_sachin

Thanks ToddAWalter :-) But have some doubts.  In the TD manual (Introduction to TD14) it says that, Configuring hot standby nodes eliminates:• Restarts that are required to bring a failed node back...

View Article

Teradata database restart? - response (4) by ToddAWalter

Good question - I did not comment on the return to service part... If there is a standby node, then when the failed node is repaired it is returned to the configuration automatically as the new standby...

View Article


Teradata database restart? - response (5) by barani_sachin

Thanks for the promt response :-) So here's my understanding, please correct me if my understanding is wrong...  Node failure - TD will restart once for sure doesnt matter what the configuration is....

View Article

Installing TD 13.10 Utilities and Database - forum topic by amit.igec.satyam

Hi, I want to install TD 13.10 utilities and database on my machine.I downloaded a file of size appro. 400MB and installed it and it showed that utilities like bteq,fatload,etc. are installed...

View Article


Help on Installing TD 13.10 DB and Utilities - forum topic by Kapil Sehdev

Hi, I want to install TD 13.10 utilities and database on my machine.I downloaded a file of size appro. 400MB and installed it and it showed that utilities like bteq,fatload,etc. are installed...

View Article

Deleting duplicate rows in multiset table - forum topic by mayya@teradataforum

Hi, I want to delete duplicate record, by keeping only one row for such duplicate records in Multiset table. Suppose we have 2 rows with values 1, 2, 3 and 1, 2, 3 in my multiset table then after...

View Article

Deleting duplicate rows in multiset table - response (1) by Harpreet Singh

Hi, You can create volatile set table and insert records into this volatile table. Thsi way your volatile table will not have duplicates. Then you can delete from table and insert data from volatile...

View Article
Browsing all 14773 articles
Browse latest View live


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