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

Date Conversion - response (3) by Qaisar Aftab Kiani

Hi Mallesh, You can simple check the length of incoming date string and based on that you can concatenate 0 in the start and make the string in a standard format for your rest of the code, like SELECT...

View Article


Case statement returning "Bad character in format or data...." - response (4)...

Are you saying I should not cast C_POL as decimal?

View Article


How to force duplication of the rows from a small table on all AMPs -...

Thank you Dieter!!

View Article

Failure 2646 No more spool space in - response (8) by rajwin03

Hi All, Is it possible to export data into exel file using Fastexport? Please help me by providing example if possible. Thanks

View Article

Error Loading tablehaving identity column with INSERT/SELECT using TPT...

  I met with the exact same problem earlier today. I was using TPT (TTU 13.10) to load data into a TD14.0 database. Once I upgraded to TPT (TTU 14.0) the error changed into just a warning and...

View Article


Passing parameter in macro/procedure - topic by Kalidasrajendran

Hi,   Is there any option available in Teradata to set a default value, while initializing a parameterised variable?   Example: In Oracle, we have like Create or replace procedure sample (firstname...

View Article

Date Conversion - response (4) by harpreet singh

Here you go SELECT '12-Aug-12' AS COL1 , CAST(CASE WHEN CHAR_LENGTH(SUBSTRING(COL1 FROM 1 FOR POSITION('-' IN COL1)-1))=1 THEN '0'||COL1 else COL1 end AS DATE FORMAT 'DD-MMM-YY') ; SELECT '2-Aug-12' AS...

View Article

Case statement returning "Bad character in format or data...." - response (5)...

You will always get an error if you you are casting a character data into numeric INTEGER/DECIMAL. You should check whether the content is numeric is or not before casting it. I guess your UDF...

View Article


_UNICODE in comments - procedures - response (2) by bjteradata

Did you ever find out a solution for this?  I have found that when a procedure is saved in Atanasuite and compiled in Studio Express these show up occassionally.

View Article


_UNICODE in comments - procedures - response (3) by bjteradata

I found that there was a "tab" character in the procedure I was creating on the server.  Turns out that Atanasuite creates it fine with the tab, but Studio Express adds this _UNICODE business.  I guess...

View Article

Using templates for operators provided in TPT - response (8) by nitindixit

Hi Feinholz Thanks for the reply. I searched the Teradata website but could not find user guide for tpt version 13.1. I could find version 13 is present , and it does not contain 'Simplifying Scripts...

View Article

Diff btw hard and soft RI - response (5) by arvindp

Hi joedsilva Thansk for the explanation. How does the soft RI will really improve the query performance, when we join the 2 tables, the rule is to have both the table data on the same AMP.   Thanks in...

View Article

Case statement returning "Bad character in format or data...." - response (6)...

Okay when i run that I'm still getting the same error rather than running and displaying "bad data"

View Article


SQL Help : Left join - response (3) by mathiroom

If you use AND operator in OUTER JOIN it will take more SPOOL, try WHERE clause but it will filter the result based on the inner table.

View Article

SQL Assistant 13.10.0.03 Parsing Bug? - topic by brydgesk

SQL Assistant normally allows you to kick off multiple queries in sequence, if each query is in the SQL window, or if you highlight the queries you'd like to run. We just ran into an issue where a...

View Article


Does the order of columns matter in SQL statement - topic by jyo1105

Hi all,   I am completly new to teradata. I have a query to run in SQL assistant which has some calculated columns. I wonder if order of the columns matter. For example when 1st column depends on 2nd...

View Article

Using templates for operators provided in TPT - response (9) by feinholz

All of our docs for all releases are in the same place. Thus, if you can see the TPT 13.00 docs, you should be able to see the TPT 13.10 docs. http://www.info.teradata.com/  

View Article


Does the order of columns matter in SQL statement - response (1) by Qaisar...

Hi Jyo, No the sequence of columns doesn't matter as long as they are in the same SQL scope. Your query should run fine. Regards, Qaisar Aftab Kiani.

View Article

Case statement returning "Bad character in format or data...." - response (7)...

I think I put the condition wrong. When udf_isnumeric() returns 1, does it mean the data is numeric or non-numeric. The code is assuming that return code ZERO represents the NUMERIC content. In this...

View Article

Tearadata SQL Help - Very much Urgent - topic by reddy27

Hi All, We need to make rows for data in columns.  In other works, there are say 5 columns each representing one product and we need to transform that information and create 5 rows one for each...

View Article
Browsing all 27759 articles
Browse latest View live


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