Calculating the actual query run time - topic by rajeev saravanan
Hi, Many a times when we submit queries in production they go into delayed state and the total execution time displayed in the SQLA doesnt show the real picture, in such cases how can we calculate the...
View ArticleHow to parametrize WHERE IN clause in stored procedure? - response (3) by dnoeth
Ok, if you want to pass a list of strings, you have to escape all strings: call test( '''US'',''GE''')or you pass 'US,GE' and add the quotes within your SP using SQL or simply use oReplace: '''' ||...
View ArticleCan you join using wild cards col_a like %col_b% - response (3) by ulrich
Strange data model: Depends on the use case. Can be very sufficient for specific problems. For example data quality checks ELT processes. Filter out email addresses containing specific pattern or...
View ArticleTeradata JDBC driver is too slow when access CLOB access from Teradata. This...
Some more information would be helpful... What version of the Teradata Database are you using? What version of the Teradata JDBC Driver are you using? How many rows did your query select? How big is...
View ArticleError: 3504 " Selected non-aggregate values must be part of the associated...
OLAP functions are calculated after aggregation, "order by sold_date" fails because there's no more detail row, but why do you need it at all. When you just want a group count, remove it. And the max...
View ArticleCounting records according to their date range - response (1) by dnoeth
Something like this? select count(*) from tab where datecol between date '2012-01-01' and date '2012-12-31' Dieter
View ArticleNeed to calculate using LEAD, LAG function - response (1) by dnoeth
Is is actually possible to have multiple rows with the same effdt (2/1/2009) and the same or different empl_status? Dieter
View ArticleIndex Cocepts in Teradata - response (4) by Qaisar Aftab Kiani
Its the same reason as explained in the thread above. Which part you don't understand?
View Articlehow to implement scd type2 in BTEQ. (from TEMPORAL TO TARGET) - topic by Rahul88
HI ALL, can anybody tell me how to implement scd type 2 while loading data from temporal table target table in bteq.. Thanks Rahul
View ArticleNeed to calculate using LEAD, LAG function - response (4) by mohan.mscss
Here it is.. sel a.empid as a1, min(b.effdate) as leave_start_date, a.effdate as leave_end_date from (sel empid,effdate, coalesce( min(effdate)over(partition by empid order...
View ArticleFirst time use - topic by Mark Holtom
Hi, I have the problem of trying to get a few scripts working in TD for comparison with Oracle and SQL Server. I have set up VM player. It is running on an 8 core 32gb windows 2008 R2 server. I have...
View ArticleTeradata online training, online teradata training - response (20) by m_v_anita
I trained with Manohar Krishna for teradata development, he is very good, his teradata know-how is also very good. He teaches every concept and answers all your questions . i strongly recommend Manohar...
View ArticleNeed to calculate using LEAD, LAG function - response (5) by Mathuram
Sel emplid,effdt,empl_status, coalesce(mdiff(est,1,rno),-1) cnn from (sel emplid,effdt,empl_status, case empl_status when 'active' then 2 else 1 end est, rank(effdt asc,empl_status) rno from tab1)t...
View ArticleFirst time use - response (1) by Mark Holtom
Hi, please don't bother. After several hours more digging I find that the login is dbc/dbc. I now have initial access to a TD database and can set up tables, etc. Thanks Mark
View ArticleTeradata Database and TTU for Windows 8 - topic by vikram.kishore
Hello there , I am urgently looking for any suggestion or support to get free teradata database and the TTU ( for teradata v13 or 14 ) that is compatible to laptop with configuration Intel Core...
View Articledb2 to teradata ddl conversion - topic by RG255025
Hi All, I’m new to Teradata and new this forum... We have EDW running at the moment in DB2 and we're going to Teradata now. DB2 has 1000 tables in EDW. My question is.... Are there any tool or...
View Articledb2 DDL to teradata conversion - topic by RG255025
Hi I’m new to Teradata and new this forum... We have EDW running at the moment in DB2 and we're going to Teradata now. DB2 has 1000 tables in EDW. My question is.... Are there any tool or utilities to...
View ArticleFAILURE 2673 SOURCE PARCEL LENGTH DOES NOT MATCH DATA THAT WAS DEFINED -...
Thanks a lot Carlos and Dieter.The Script is working fine now after removing the headers in flat file Regards, Vijayshankar
View ArticleHow to Install and Configure Teradata Express 13.0 in Windows - topic by...
Hi, I download and installed the 390MB Teradata Express for Windows client from the page below http://downloads.teradata.com/download/tools/teradata-tools-and-utilities-windows-installation-package How...
View ArticleIndex Cocepts in Teradata - response (5) by sachin.sebastian
Vinay, in a scenario where the hash value of PI and USI are the same, the SI subatble row as well as the base table row will be on the same amp. But still it is a 2 step/ "2 Amp" operation (hit same...
View Article