How to Parameterize DATABASE name in BTEQ - topic by cnaveen05
Hi, I have a windows batch file calling a BTEQ statement as below :- .RUN FILE C:\Teradata\BTEQ\Logon.txt; select * from DWTEST.CBI_NAV_TEST; .LOGOFF .EXIT I want to parameterize the database...
View Articlecorresponding teradata query for a oracle query - response (5) by Qaisar...
Tells the ColumnLength...
View ArticleSELECT Failed. 3504: Selected non-aggregate values must be part of the...
The syntax of your Group By Clause is not correct. There is a "." instead of "," in between 2 & 3. Replacing the "." with "," will make it work. GROUP BY 1,2,3,4
View ArticleHow to find the associated tables or view in teradata? - response (9) by...
If you are looking for something that returns you the dependency in some table format then unfortuantely nothing like this exists. But you can try SHOW QUALIFIED SELECT * FROM V2. This will return the...
View ArticleSQL to compare records (status change) in table - response (1) by gfuller40
I figured it out. select row_begin_dt, c_ams_clm, c_clm, c_sta_clm, -- Find the c_sta_clm of the previous row max(c_sta_clm) over (partition by c_clm order by row_begin_dt rows between 1 preceding...
View ArticleHow to find the associated tables or view in teradata? - response (11) by...
Thanks for reply Qaisar. This will help. I also have the need to know if I change something on table LOT then it impacts V1 and V2. So my next question is- Can I use the same query in reverse analysis...
View ArticleWhat Is DERV? - response (2) by genesiusj
My apologies, Dieter. It has been a bit crazy at my new job and I did not give myself the chance to thank you for your comment/help. I sort of understand what you replied, but not fully. Thanks again....
View ArticleHow to find the associated tables or view in teradata? - response (13) by...
Hi Vaishali, No, the SHOW QUALIFIED SELECT... statement works only for the children (top to bottom). You can't find the parents of a specific table/view through this statement. However, the view...
View ArticleHow to find the associated tables or view in teradata? - response (14) by...
Thanks again for quick reply Qaisar. I have depeloped procedures and packages in Oracle earlier but I am new to Teradata plus I dont know if I will have access to create any with my access. Is the...
View ArticleHow to find the associated tables or view in teradata? - response (15) by...
I am not sure if such specific UDF exists or not, but you can have a look at the existings UDFs over the teradata website... http://downloads.teradata.com/download
View ArticleWould someone please explain ROW_NUMBER - topic by genesiusj
Hi, Second posting here, still in learning stages. I have adopted code and came across the following. I know it works, but I want to understand what it is doing. ================= ROW_NUMBER() Over...
View ArticleWould someone please explain ROW_NUMBER - response (1) by Qaisar Aftab Kiani
ROW_NUMBER generates the allocates a sequence number to the data set. In your case, for each unique combination of A.TID, D.PIN, Tyr (columns in the PARTITION BY clause) will have a unique sequence...
View ArticleHow to find the associated tables or view in teradata? - response (16) by ulrich
are you looking for this? http://developer.teradata.com/blog/ulrich/2011/11/extract-and-analyse-da...
View ArticleXML Services on Express 14.0 -- trouble in install - topic by grommel
I'm trying to install XML Services on my TD Express instance. Here's the setup: Windows 7, 64-bit (host) VMware Player 5.0.1 TD Express for VMware 14.0, 40GB TD XML Services 13.10...
View ArticleUnion vs Group by - response (1) by ulrich
The standard answer is that it can depend on your data, the PI and configuration. So easiest is to run the different options and check the DBQL. You also forgot the set option of a temp table. Or the...
View ArticleSkewness in nopi Table - response (2) by ToddAWalter
How did you load the data into the table? How many rows did you load into the table? How big is the system?
View ArticleUnion vs Group by - response (2) by ToddAWalter
If you want to find the unique set of <tran_id,cust_id,acct_nbr> then use DISTINCT. SELECT DISTINCT tran_id,cust_id,acct_nbr FROM financial.checking_tran;
View ArticleParameterizing Work, Log, Error database names in Informatica - response (1)...
Hello Rakesh, I am facing the same issue, did you fix it? Thanks, Alex
View ArticleImporting delimiter text file!!!!!!!! - response (6) by klnsreenivas
Thanks Harpreet, that one i got it. BUt i am facing another problem like my file data is like "12345","ABCD","STU,GHj","01/01/2012" Here by using VARTEXT ',' we can use this Delimited file but this...
View Article