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

DBC maintenance - response (3) by dnoeth

You run it using a BTEQ script submitted by your company's scheduling tool, this might be a simple cron job or CONTROL-M or UC4 or whatever.  Dieter

View Article


How Can User Change Password? - response (1) by dnoeth

Hi Usmans, every user can change his own password, there's no right needed for that. Only if you want to change the password of another user you'll nedd the DROP USER right.  Dieter

View Article


Extracting Domain Names from EMAIL_TXT Field - response (3) by Divine786

Dneoth i have one question I have 2 strings 10371676.2.1 10374263.14.1 I need to substr it from first position till the second dot if i substr(id,1,11) then its going wrong coz if the id is like...

View Article

Combine Multiple Select Statements - response (12) by Divine786

UNION ALL between every query will solve this issue.

View Article

A question concerning LIKE - forum topic by GwenaelLeBarzic

Hello everyone !  I create this topic because I have a question here. I have two tables T1 and T2. The field which is the primary key of T1 is PK1. The field which is the primary key of T2 is PK2. PK2...

View Article


VTT vs GTT - response (7) by Raja_KT

You can have a better performance with VTT compared with GTT. Thanks and regards, Raja

View Article

VTT vs GTT - response (8) by dnoeth

Hi Raja, an you elaborate on that? There shouldn't be any difference between GTT and VT.  Dieter

View Article

A question concerning LIKE - response (1) by dnoeth

Hi Gwenael, are there trailing blanks in PK1 or PK2, are they defined as CHAR or VARCHAR? The LIKE might also return wrong rows, when PK1 is not fixed length, e.g. 'abcd-1' LIKE 'abc' || '%'. To...

View Article


Extracting Domain Names from EMAIL_TXT Field - response (4) by dnoeth

Wha's your TD release? In TD14 there's a built-in INSTR to find the #2 dot for the SUBSTRING or REGEXP_SUBSTR, before that you might check what UDFs have been installed. Otherwise it's ugly nesting of...

View Article


Big table - very big table join - response (2) by graebige

is there a PPI on available that you could use, I only see 2 full table scans - also, reduce the data amount by using derived tables

View Article

Auto select on PI - forum topic by graebige

HI, I'm facing the situation where analyst creating (skewed) tables in a scratch table environment by selecting a bad PI. I gave up on education and instead, I would like to run a script that...

View Article

Is this the casting error? - response (1) by dnoeth

You might check the avg_depth of the missing rows if it's close to zero: < 0.0000005 will be rounded to 0  SAS might use FLOAT arithmetics, so you could try avg_depth=cast(sum(x) as float)/sum(y)...

View Article

A question concerning LIKE - response (2) by GwenaelLeBarzic

Hey Dieter.  Thank you for your answer. Indeed, I just changed the PK in order to have something which match exactly, more efficient. I asked just to know more how Teradata handle string manipulation....

View Article


CREATE TABLE Failed [3737] Name requires more than 30 bytes in LATIN internal...

My Largets column name is 29 char long. still i am facing the same error. SELECT Failed 3737: Name requires more than 30 bytes in LATIN internal form.thanks.

View Article

CREATE TABLE Failed [3737] Name requires more than 30 bytes in LATIN internal...

Based on the error message this seems to be a SELECT, could you show it (or at least the column names/aliases used)?  Dieter

View Article


ColumnName is missing with error messages - forum topic by lidb842

ColumnName is missing with error messages In Teradata Is there any way to get column name as well with the error message. For example I have a table Create test( column1 int, column2 timestamp(0),...

View Article

Not getting expected results through time(6) - response (2) by Nishant.Bhardwaj

Thanks Dieter ! 

View Article


ColumnName is missing with error messages - response (1) by Qaisar Aftab Kiani

I don't think that would be possible...

View Article

Auto select on PI - response (1) by Qaisar Aftab Kiani

The PI once created on a table can't be changed simply. You will have to create a copy of the table with a different PI, insert the data in the second table, delete the base table and rename the second...

View Article

Titile Stacking? - forum topic by teraforsk

Hello Experts,  Can some please explain what is meant by Title Stacking? I came acorss a question asking "Does the AS Clause allow title stacking'?  ThanksTags: sqltitletitle stackdnoethForums: Database

View Article
Browsing all 14773 articles
Browse latest View live


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