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

Unable to access application tables. - response (4) by tomnolan

Sayali, did you read what I posted? That error typically comes from your application calling DatabaseMetaData methods such as DatabaseMetaData.getColumns, not from querying tables.

View Article


Need help in understanding Teradata's behaviour - response (2) by HateOra

Sorry i didnt get the point :  another thing which we noticed is : if we make changes as below , we get complete 100 records  select A, b, c, d, e, F ( select a b max(c) sum(d) sum(e) from Table1 where...

View Article


Need help in understanding Teradata's behaviour - response (3) by HateOra

HI Team,  If we add MAX to one of the column we get different result, which is actually wrong... and when we remove the MAX and add that to group by we get correct results.  any idea why?

View Article

Need help in understanding Teradata's behaviour - response (4) by ulrich

it is very difficult to answer you these questions on your pseudo code - the first query is syntax whise incorrect as columns names are missing. Not a big deal but it means it is manual pseudo code and...

View Article

Trimming Blank Inner Spaces & Data Cleansing - forum topic by MarkC

Hello, I'm trying to find a solution to remove random spaces in a Teradata field which have been caused by human error.  The spaces are not in the same place every time so using TRIM and SUBSTRING...

View Article


Trimming Blank Inner Spaces & Data Cleansing - response (1) by dnoeth

There's no REPLACE function in Teradata, but there might be oREPLACE (REPLACE was already a keyword thus it has to be renamed). Your query replaces multiple blanks with a single blank, but i thought...

View Article

QCD with no index - forum topic by Raja_KT

Hi,  I am reposting this question from viewpoint.  Can you please provide me scenarios where I can have QCDs with no index, excepting that I exclude index subtable?  Thanks and regards, RajaForums:...

View Article

fetching data by joining 2 tables in a view - response (11) by Arun1377

Hi Ulrich, The table T2 will have more than 80k records. I have posted only sample data to explain the scenario.  --Arun

View Article


recursive query numeric overflow issue - forum topic by Arun1377

Hi All, I am using recursive query to fetch the top most hireracy of the relation. I have data as shown below:  Manager Reportee Department 1             2             ABC  2             3...

View Article


Performance tuning of a Fast Load Script- - response (4) by Nishant.Bhardwaj

Thanks a Lot Ulrich  for the Valuable inputs ! I understood that If we can keep  in sync the Source & target tables , the effective bytes  would  be reduced ( as in the case of varchar , the spaces...

View Article

CASE STATEMENT - response (7) by VBurmist

- The brackets [] should better be () - = ('WHS')    should better be     = 'WHS' apart from that, I just agree with Ulrich. Regards, Vlad.

View Article

need help in implementing a scenario - forum topic by sujiwarrier

Here I have a scenario which needs to update a opening inventory with previous available closing inventory. For example please find table data as below. Now daily i have to run an update on this table...

View Article

recursive query numeric overflow issue - response (1) by VBurmist

Hello Arun,  if the recursion is not too deep, then one of the possible options is to store all the "previous" manager ids in a separate column, and then filter by that column, like this:    with...

View Article


Performance tuning of a Fast Load Script- - response (5) by ulrich

correct - at least if the AVG varchar length is < char length -2. As varchar will add up to additional 2 bytes for the actual length of the varchar (e.g. it need to know how long the value is to be...

View Article

fetching data by joining 2 tables in a view - response (12) by ulrich

Ok, in this case it is too big to transform it into a SQL UDF. You facing here the problem of an de-normalized design which leads to komplex queries. CREATE MULTISET TABLE DB_TEST.T1 ( A DECIMAL(15,0),...

View Article


CASE STATEMENT - response (8) by MBR

@ulrich thanks for your comments. in future i will makesure that will post necessary information. any how my problem got reolved just a small syntax mistake in the above query. thanks everyone.

View Article

recursive query numeric overflow issue - response (2) by Arun1377

Hi VBurmist, It is working :). Thanks a lot. --Arun

View Article


Types of locks during Fastload abort-? - response (9) by Nishant.Bhardwaj

Thanks a lot Todd for your sharing your thoughts & comments . It really  helps. Just have a doubt in mind regarding the H.U.T ( hostutility locks), I was under the impression that during the...

View Article

Types of locks during Fastload abort-? - response (10) by ToddAWalter

HUT locks are for ARC backup/restore only. This is the only kind of lock in Teradata that persists when there is not a job running. The lock is left if the job does not finish normally so that the...

View Article

Types of locks during Fastload abort-? - response (11) by Nishant.Bhardwaj

Ok thanks a lot Todd for your reply.. .. Please bear with me as  I am getting tempted now to clear my doubts I am bit unclear abt the status as you mentioned that  "There is a status recorded in the...

View Article
Browsing all 14773 articles
Browse latest View live


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