Merge Statement Errors - MERGE Failed. 3707 - forum topic by lkosturko
We are having challenges with a Merge statement. The SQL we are using for the source data works fine when run as a select statement, but for some reason will not run when within the merge statement -...
View ArticleRounding down decimals - response (2) by dnoeth
This is called truncating, if it's up to 18 digits you can simply cast to a bigint: select cast(x as bigint)Or CAST(x - x MOD 1 AS DEC(38,0))Dieter
View ArticleCrash Code 3701 encountered while creating a volatile table - forum topic by...
Hi All,I am trying to create a volatile table by selecting data from an existing table.However, when I execute the CREATE TABLE query, I get the following error.CREATE TABLE failed. Please do not...
View ArticleIssue during Conversion of varchar to Timestamp(0) - response (1) by simhadrijk
can you please post sample data
View ArticleQuery Tuning - response (12) by simhadrijk
Can you paste your SQL (insert and select) may be by which dnoeth can provide you much more explanation.
View ArticleBTEQ is not returning proper error code when run file is not present. -...
Qun and Fred-I need some guidance. I am trying to invoke teradat sql scipt via unix. However, my id has an ldap authentication. I am to run it interactively (bteq then enter...then .logmech ldap enter...
View ArticleEnabling ALC, Pros and cons - response (1) by simhadrijk
Hi Harish,For the character data type, before Teradata 13.10, MVC (multi value compression) was restricted to fixed-length char¬acter columns (CHAR data type) and columns up to 255 characters wide. For...
View ArticleEnabling ALC, Pros and cons - response (2) by simhadrijk
So enabling the ALC will not cause you any impact. But please remember the during application of compression of UNICODE fields. In our project, we faced with data corruption for UNICODE fields upon...
View ArticleTeradata Tools and Utilities - forum topic by nancyjean
Hi, I have jus installed TTU v 13. when i open the Teradata SQL assistant. there is no anwser set pane. What kind aquery can i start with. Please helpTags: ttu 13.1Forums: Tools
View ArticleCovered Query - response (4) by rajeev saravanan
Hi Dieter, Thanks for the inputs Regards R.Rajeev
View ArticleHow 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 ArticleColumn and Row separator in Multiload - forum topic by TDUser2000
Hello All, I am getting a flat file with different delimiters for column and row. For an example abc,def,xyz] abc,def,xyz] abc,def,xyz] Column delimiter is comma (,) Row delimiter is ] I have used...
View Article"load_from_teradata" error - response (3) by nancyjean
Hi, i am getting the same error. ERROR: load_from_teradata must be invoked on an empty, partitioned table Please refer to the Aster Database Administrator Guide for correct usage of the...
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 Article