New user. Tyring to figure out how to group two statements - response (1) by...
sel a.DEBT_MGR_RTR_ACCT_NUM, a.PLCMT_STRT_DT , a.PLCMT_END_DT , AGT_AGY_CD , CATG_CD from prdm.rcvry_acct_agy_plcmt a left join prdm.rcvry_agy_work_que_vw c on a.agy_work_que_id = c.agy_work_que_id...
View ArticleExporting UTF8 column names from DBC, using CHR(26) ^Z SUB char... - topic by...
I'm wanting to export list of UTF column names from DBC.TablesV. I want to ensure valid UTF8 characters that can be used for names within double quotes aren't used as my column delimiter. I looked at...
View ArticleDifference Between Restore Job and Copy Job - topic by usmans
Hi, I am not sure if this is the right place to post my question. Anyway, I am new to Teradata. I use NetVault to restore and backup the data onto tapes. Now my question is: How can I be dead sure that...
View ArticleHow to find status Difference using date field - topic by joshvignesh
How to find status Difference using date field Hi all, Please help me how to find difference between two dates based on the status. Here I provided the Source Table for your verification VIN_R STATUS...
View ArticleDifference Between Restore Job and Copy Job - response (1) by Adeel Chaudhry
In my opinion its just a matter of understanding .... which that situation at hand may be the best thing was to copy and not restore. Technically they are 3 different things to achieve same purpose...
View ArticleCreating a view from multiple tables in SQL 2012 - response (1) by Adeel...
What is the error you get? And do you have a valid/working SELECT statement for which you want to create a view? Regards, Adeel
View ArticleHow to find status Difference using date field - response (1) by dnoeth
Hi Josh, this should match your expected output: CASE WHEN status =200 THEN -1 ELSE MIN(CASE WHEN status =200 THEN CAST(status_date AS DATE) END) OVER (PARTITION BY vin_r ORDER BY status_date ROWS...
View ArticleExporting UTF8 column names from DBC, using CHR(26) ^Z SUB char... - response...
But what are you going to do with this data? Load it back to Teradata using BTEQ or a load utility? Use it in a BTEQ .RUN? There's the CHAR2HEXINT function to return the hex representation. BTEQ DATA...
View ArticleHow to find status Difference using date field - response (2) by joshvignesh
Thanks Lot Dnoeth, I am really happy ....no words to express my Sincere thanks to your great help... In the above query Is working fine. Once again my thanks to your effort... Thanks & Regards...
View ArticleCan we access a table from SQL UDF in TD 14? - response (3) by jilseman
accessing objects from within functions has been a useful feature in other DBMS (eg SQL Server) you are able to build a reusable set of functions for lookups, data validations, etc that can be use in...
View ArticleCan we access a table from SQL UDF in TD 14? - response (4) by dheld2
So if that is the case, ( A SQL UDF is only allowed to perform an expression and return the result. A Select is not allowed in a SQL UDF. ) THen what is the correct way to impliment what Mani has...
View ArticleNeed help with Unicode in DDL issue - response (8) by RXCORE
The solution for this is to change your Session Character Set to ASCII. It affects the "--" comments as well as the long string values in views or procedure, creating the --_UNICODE...
View ArticleQuery Band Syntax - response (2) by iqbal898
Hello, I'm new to query band. Pl. explain what exactly it does. Thanks in advance.
View ArticleHow to export Teradata access log and DBQL from Teradata table to a file -...
Hi Will anybody help me on the above query. Has anybody exported Teradata DBQL and accss audit log to a file or able to send to remote syslog server. Thanks in Advance.
View ArticlePerformance of MERGE versus SQL INSERT - topic by ruranker
I need to perfom the simple task of adding new data to a large existing table. My source data is on Teradata and is in a table that looks exactly like my target table (field names, datatype, PI, ...)...
View ArticleHow to retrieve the Relative Record Number? - topic by fkeith
Hi, I am Very New to Teradata. I was wondering how to retrieve the Relative Record Number for a row in a table. I have used RRN before but it doesn't seem to work in Teradata. Here is my code to find...
View ArticleQuery Band Syntax - response (3) by gryback
Querybanding provides a mechanism for enterprise applications to collaborate with the underlying Teradata Database in order to provide for better accounting, prioritization, and workload management....
View ArticleDBQLSummaryTbl - topic by teradatauser2
Hi, I have few questions regarding DBQLSummaryTbl 1. What is difference between DBQLSummaryTbl and DBQLObjTbl ? 2. What is the mening of objecttype = col and Idx 3. What is the meaning of Object_Cnt...
View ArticleTeradata Parallel Transporter (TPT) 14.00.00.07 on Windows 2003 x64 Java...
How do I get TPT for Windows?
View Article