How to update the duplicate records in Teradata - response (1) by rajeev...
Hi Siddesh, Is this your requirement - if there are 3 rows in a table having the same data in all the columns then you need to mark only 2 of them as duplicates and one remains unchanged or you want to...
View ArticleMerge Statement Errors - MERGE Failed. 3707 - response (1) by dnoeth
Remove the comma after tgt.PercentComplete = src.S_PercentComplete, Dieter
View ArticleHow to update the duplicate records in Teradata - response (2) by simhadrijk
Hi Siddesh, As commented by rajeev, sample would provide more clarity on your requirement. on a brief note: You can use a self left join to table with left joining table to be a derived table on main...
View ArticleCrash Code 3701 encountered while creating a volatile table - response (1) by...
Hi aarsh, In one of the manual i found the following: 3701 Internal error: An unknown error has occurred. Explanation: If this error occurs, an inconsistency was detected by the Teradata Parser code....
View ArticleMigration of Special Characters of UNICODE to TERADATA - forum topic by...
Hi all, In one of our project, we are facing a challenge to load Special character fields onto Teradata. The source is SQLServer and its character set is UTF16. Though we are able to load the data, but...
View ArticleHow to update the duplicate records in Teradata - response (3) by dnoeth
Hi Siddesh, following sets the duplicate flag for all duplicate rowsUPDATE tabSET dupflag = 1WHERE (col1,col2,col3) IN(SELECT col1,col2,col3 FROM tab GROUP BY 1,2,3 HAVING COUNT(*) > 1) Of course...
View ArticleSpace in the database - response (12) by rajeev saravanan
Hi All, Continuing on the above i have come up with couple of queries to evaluate the space utlisation at Database and table level Could any one evaluate and let me know of any mistakes? Database...
View ArticleCrash Code 3701 encountered while creating a volatile table - response (2) by...
I think you need to open a bug with Teradata support team. The reason it is telling you not to resubmit it because if you run it again teradata will hit the same BUG again and every time until you get...
View ArticleGrant select on DBC.USERS for typicall user. - forum topic by wicik
Welcome, I have tried to grant select on dbc.users table for one user. For some reason default command does not give the right result. grant select on dbc.users for uset_name When user selects top...
View ArticleRounding down decimals - response (3) by CarlosAL
Also, if you are in Teradata 14, you can use TRUNC() and ROUND() (Oracle heritage, I'm afraid ;-) ) Cheers. Carlos.
View ArticleInserting to a Multiset Table - forum topic by smull
I have a piece of code that uses Group by and Qualify and am looking to insert the data into a Multiset Table. When I run the piece of code on its own it only takes about 1 minute or so to run but...
View ArticleInserting to a Multiset Table - response (1) by dnoeth
Is the target table empty or populated? What's the PI/partitioning of the target table? How many rows in source and target? Dieter
View Article13.10 - forum topic by Tera9999
I'm very new to Teradata and I really need to download Teradata Administrator 13.10. I cannot for the life of me find it on the site anymore. If someone could please point me to where it is, I would...
View ArticleRounding down decimals - response (4) by aodabasio
thanks folks. you were very helpful. I am using teradata sql assistant for 12.
View Articleself join - forum topic by aodabasio
I am making a mistake placing the self or left join. the main purpose of this querry is to bring back weekid, legid, avg final duration, volume, 95% of volume and 95th-tile of the avg duration. I have...
View ArticleTimestamp format not working to get the two digit year - forum topic by balu_td
Hi, My Source data has only two digit year when i am trying to convert to timestamp sel cast('12/12/12 00:00:00' as timestamp(0) format 'MM/DD/YYBHH:MI:SS') o/p 12/12/1912 00:00:00 tried with the...
View ArticleCalculating Access Demographic for Primary Index - forum topic by quest
Hello Friends, 1) Access Demographics: Is there a formula to calculated access demographic for a primary index in Teradata? For secondary index, the following formula is often used. Access Ratio =...
View ArticleMigration of Special Characters of UNICODE to TERADATA - response (1) by Fred
How are you loading the data? What "client character set" is being used for that load?
View ArticleBTEQ is not returning proper error code when run file is not present. -...
Better to create a new thread for a new question. In batch mode (within a script), the password goes on the .logon rather than on a separate line (as interactive mode):.logmech ldap.logon...
View Articlereplacement of dense_rank function in oracle - forum topic by memostone
Hi all, We are migrating from oracle to teradata, and got stuck with dense_rank function, please any suggestions would be appreciate. Here is our query in oracle: select dense_rank() OVER (ORDER BY...
View Article