Quantcast
Channel: Teradata Forums - All forums
Browsing all 27759 articles
Browse latest View live

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 Article


Rounding down decimals - response (1) by KS42982

SELECT CAST(columnname as integer)

View Article


Rounding 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 Article

Crash 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 Article

Issue during Conversion of varchar to Timestamp(0) - response (1) by simhadrijk

can you please post sample data

View Article


Query 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 Article

BTEQ 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 Article

Enabling 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 Article


Enabling 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 Article


Teradata 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 Article

Covered Query - response (4) by rajeev saravanan

Hi Dieter, Thanks for the inputs Regards R.Rajeev 

View Article

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 Article

Merge Statement Errors - MERGE Failed. 3707 - response (1) by dnoeth

Remove the comma after tgt.PercentComplete = src.S_PercentComplete, Dieter

View Article


How 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 Article

Crash 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 Article


Migration 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 Article

How 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 Article


Column 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 Article

Space 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
Browsing all 27759 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>