Quantcast
Channel: Teradata Forums - Database
Browsing all 14773 articles
Browse latest View live

Minus Query in Stored Procedure - topic by shiku87

Hello,  I am trying to write a stored procedure which will perform the following. 1. Dynamically create a Column List to be used in a SELECT statement 2. Minus Query  read more

View Article


Table Level Checksums - response (2) by ulrich

Yes there is. Come and join Partners 2012  Sunday 09:30 AM EST, Room: Baltimore 3-5 How to Compare Tables between Teradata Systems in a Dual Active Environment?

View Article


To drop the stale stats - topic by TDUser2000

Hello,   I need to check whether stats defined on the tables are really used by the optimizer or just ignored. Since collect stats are more CPU consuming , need inputs on this to check all the stats...

View Article

Compare two tables using utilities - topic by i150371485

Dear Experts, I am Newbi to Teradata. I used to compare the two tables as below. Select * from SOURCE_TABLE MINUS Select * from TARGET_TABLEThe above procedure can only get the all the records from...

View Article

Error Code 6706: The string contains an untranslatable character. - response...

I get this error when I CAST an Integer/Decimal/Float field to VARCHAR and concatenate to VARCHAR field in a SELECT clause. e.g.   SELECT  CAST(COALESCE(A,"") AS VARCHAR(11)) || '|' || TRIM(B) FROM...

View Article


Error Code 6706: The string contains an untranslatable character. - response...

its likely to be - check Dieters reply on http://forums.teradata.com/forum/database/implicit-data-type-conversion-to-char-ends-up-in-unicode you can validate by create volatile table sql_test as (...

View Article

partition question - topic by teradatauser2

Hi, I have a table tab1 with partition on a integer type column col with partition defn PARTITION BY RANGE_N(col BETWEEN 1 ,2 ,3 ,4 ,6 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,21 ,23 ,24 ,25  AND 26 ,...

View Article

partition question - response (1) by robpaller

What do your table statistics look like?   Generally an inequality condition is going to result in a FTS.

View Article


How to Use Round Function In Teradata - response (3) by maheshkumittal

Hello, 1. SELECT CAST((1.2435) AS DECIMAL (5,3)); result - 1.244 2. SELECT CAST((1.2445) AS DECIMAL (5,3)); result - 1.244 3. SELECT CAST((1.2455) AS DECIMAL (5,3)); result - 1.246 I expected the...

View Article


partition question - response (2) by teradatauser2

yeah..i want to remove the inequality and put an in condition

View Article

Viewpoint data collector - Lock Info error - topic by thompsonhab

I am trying to setup Viewpoint to capture locks. However, I get the following error as a ! within a red triangle. Unable to get lock information from dumplocklog utility! [Teradata Database] [TeraJDBC...

View Article

Is mload delete faster than the Bteq delete? - topic by teradatauser2

Hi I have a situation i which i have to delete almost 98% data from a 3 TB table. I used bteq delete and had to abort it in between. This caused the table to go for a rollback that lasted for more than...

View Article

How to Use Round Function In Teradata - response (4) by ulrich

The keyword is RoundHalfwayMagUp its a dbscontroll setting and defines how Teradata is handling the rounding. Default is FALSE from the manuals: Purpose Indicates how rounding should be performed when...

View Article


Is mload delete faster than the Bteq delete? - response (1) by ulrich

Yes, it is faster due to the reason you already mentioned: It doesn't use a journal. It scans and deletes... But did you consider to 1. copy the 2% of data which remains into a new table 2. rename...

View Article

Is mload delete faster than the Bteq delete? - response (2) by teradatauser2

    partition question Hi, I have a table tab1 with partition on a integer type column col with partition defn PARTITION BY RANGE_N(col BETWEEN 1 ,2 ,3 ,4 ,6 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,21...

View Article


Error Code 6706: The string contains an untranslatable character. - response...

Ulrich,  That did the trick. Yes, it comes out as UNICODE if you use COALESCE first and then CAST. If CAST first and then COALESCE , it is LATIN. I wonder why does it do that way implicitly. Does it...

View Article

Viewpoint data collector - Lock Info error - response (1) by thompsonhab

I am now getting this message: Unable to get lock information from dumplocklog utility! *** Error - Logger was not activated. Q No rows have been inserted to table...

View Article


Error Code 6706: The string contains an untranslatable character. - response...

Teradata TPT Job ignores OUTLIMIT value. BTEQ RETLIMIT and FEXP OUTLIMIT work fine. Does anyone know why TPT ignores OUTLIMIT? I defined INTEGER OutLimit = 1, in TPT Job but it retrieved all the rows...

View Article

Need to convert UNICODE to LATIN - response (4) by virenag

CAST(COALESCE(col1,'') AS VARCHAR(10)) produces UNICODE While  COALESCE(CAST(col1 AS VARCHAR(10)),'')    produces LATIN.   Any explaination for this?   Thanks.  

View Article

Using Parameters with Queries - response (12) by muji316

Use '?' as parameter. select * from CUSTOMER_MSISDN where MSISDN = '?inputMSISDN'

View Article
Browsing all 14773 articles
Browse latest View live


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