Multiple proxy roles in trusted session - forum topic by Capri_DR
Hi, Could someone please mention if we can set up multiple proxy roles for a application proxy user. We are setting query band to mention multiple roles but we are getting an error. SET QUERY_BAND...
View ArticleHelp needed on recursive sql - forum topic by dr.murthy_td
Hi , i have an table its having four fields cost,retail,units,weekdayyr. sample data is given below. cost,retail,units,weekdayofyr 120,125,100,1 115,132,142,1 114,859,236,2 114,158,258,2...
View ArticleQuery Rewriting. - response (5) by dnoeth
Did you compare the actual runtime and CPU/IO from DQBL (preferably QryLogSteps)? You didn't show the full SQL, but i assume there are some joins in the previous steps. Depending on the actual...
View ArticleStatistics information retrieved in dbc for Teradata 12 - response (4) by dnoeth
The link above is an old version of my stats query, the latest one is on DevEx now:How to decode the binary statistics stored in dbc tables But this is only up to TD13.10, as TD14 introduced a new way...
View Articlestrtok_split_to_table support only Integer and does not support other data...
Q1: For a character inkey use "RETURNS (serialno varchar(..) character set unicode". Q2: "Numeric" seems to be strictly INTEGER, nothing else. Otherwise you get garbage, just tried it on...
View ArticleReplace with carriage return/ line feed - response (2) by dnoeth
Hi Nolan, seems you're on TD14, for a simple replace like this (no regular expression needed) i would use oReplace(TRANSFORM_RULE,' | ','0D0A'XC) Dieter
View ArticleHelp needed on recursive sql - response (1) by dnoeth
I can't match your sample data and required output based on your narrative. But it seems you don't need recursion, a simple OLAP function might be enough: SELECT SUM(tot_cost + tot_retail + tot_units)...
View ArticlePartition Elimination - response (1) by dnoeth
The date conditions are simply pushed into the stil table like any other condition resulting in partition elimination based on hard-coded values. I don't have access to a TD13.10 right now, but for...
View ArticleWill the STATS be useful on below kind of data? - response (2) by Shelley
Depending on the release you are on and the data type of the column , sample stats may not be very useful. If the column shown above is defined as character , it is larger than the 16 byte size that...
View ArticleCreating a new secondary index on table - response (9) by Shelley
It populates specific columns in the dictionary tables.. Ie DBC.Indexes, etc
View ArticleObtain partition count (including non-empty) for PPI and MLPPI tables -...
In TD14 this info can be found in the new dbc.PartitioningConstraintsV view. Before TD14 my StatsInfo tries to extract that, but only for PPI:How to decode the binary statistics stored in dbc tables...
View ArticleWill the STATS be useful on below kind of data? - response (3) by rajdct8q
Thanks a lot, Nishant and Shelley.
View Articledata form - forum topic by ManishNayek
Why do we need Hyperion Planning Data form? One can easily insert data from Smartview.Tags: career training courseForums: Database
View Articlehelp in tunning needed - forum topic by rajdct8q
I am new to teradata. There are two tables as below: TABLE 1: CREATE MULTISET TABLE ACCOUNT_FACT ,NO FALLBACK , NO BEFORE JOURNAL, NO AFTER JOURNAL, CHECKSUM = DEFAULT ( ACC_KEY...
View ArticleFirst connection teradata 14 after installation - response (1) by Michaelcanady
better to contact the moderator for this query i am sure you would be helped a lot with this...
View ArticleNumeric overflow occurred during computation? - forum topic by paulxia39
Hi, I have doubt about the sql statements below: sel cast(400.000000000 * 100000000 as decimal(18,2)) ---OK sel cast(400.000000000 * 100000000 as decimal(38,8)) ---error,overflow... why???...
View ArticleTeradata - forum topic by ManishNayek
We have migrated our system from netezza to teradata. But our queries taking very long time in executingTags: Training teradetaForums: Database
View Articledata form - response (1) by ANANDEKBOTE
hi Manish, Pl refer this document about Planning Dataform : http://www.scribd.com/doc/118790984
View ArticleTeradata - response (1) by ANANDEKBOTE
I was at the same stage, someone asked me to take the help from BISP. They have very good hand on experienced guys. I have taken complete training for TERADATA developer & DBA. You may contact them...
View ArticleNumeric overflow occurred during computation? - response (1) by Priyanka_Bhakuni
Hi,When I checked the same, am not getting numeric overflow error. sel cast(400.000000000 * 100000000 as decimal(38,8)); *** Query completed. One row found. One column returned. *** Total elapsed time...
View Article