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

Oreplace limitation - response (4) by ETMack

  In layman’s term, if you are using “Select *”, you are displaying every column in every table you are joining.  This message is saying I have reached my limit of columns to display.  What I did is...

View Article


DBQL SQLTextInfo 3577: row size or sort key size overflow - response (7) by...

  In layman’s term, if you are using “Select *”, you are displaying every column in every table you are joining.  This message is saying I have reached my limit of columns to display.  What I did is...

View Article


insert into one table from multiple select statements and multiple tables -...

Hi All, I have a table with fields EFF_DT and ASUM_DT and some other. And I need to insert data into this from multiple tables, using sel statements. Example: Using below sql I need this value to be...

View Article

Warning message when using Dynamic cursor - - response (6) by kganesan

Dear Dnoeth,  Still we get the same warning msg: BTEQ -- Enter your SQL request or BTEQ command: .SET ERRORLEVEL 3212 SEVERITY 0; CALL file_count(81); .SET ERRORLEVEL 3212 SEVERITY 0; BTEQ -- Enter...

View Article

Warning message when using Dynamic cursor - - response (7) by dnoeth

Hi Ganesan, sorry, i was wrong, of course you can't handle that specific warning within the SP itself. But when you set the ERRORLEVEL to zero the BTEQ job will also report a zero return code to the...

View Article


Password check for Teradata user. - forum topic by wicik

Welcome, I have been asked to check password for some login by owner of this login. User just forgoten the pass. I understand that privicy policy prefers to change the pass (just for sure) but is there...

View Article

conversion of string to date - response (1) by shilpa1

Try this - SELECT CAST(CAST(CAST('AUGUST 2012' AS DATE FORMAT 'M4BY4') AS DATE FORMAT 'YYYY/MM') AS CHAR(7)) Thanks, Shilpa 

View Article

insert into one table from multiple select statements and multiple tables -...

I am not sure if I got your question here. What is the issue ? I think you want to insert the data into one table from multiple tables, but using one select ? please clarify your question and will try...

View Article


Primary Key Implementation - response (2) by Kamran.Shirazi

Primary Key is implemented as either UPI or USI. If you've already defined a PI on the table and adding a PK, it will be created as a USI. However, if your table doesn't have a Index defined and only...

View Article


rank variation - forum topic by johnajorgensen@yahoo.com

  Hi.  Hoping you can help me with another issue.  I have some data similar to that shown below, and would like to rank the states - 1-50 based on their sales totals....

View Article

Secondary Index Usage - Information - forum topic by Huwy

Hello,  I used the TDDoc and searched in this forum, but didn't find anything. Is it possible to get any information about the secondary index usage? To explain our situation: we want to drop secondary...

View Article

Is it possible to handle the date in format YYYY-MM-DD HH:MI:SS NNNNNN ?...

Hi, This is my first post in this forum. I am new to teradata DB. There is a project that I am working on where we are receiving the date in varchar format : YYYY-MM-DD HH:MI:SS NNNNNN  Please note...

View Article

Age Calculation - response (15) by dmcpdx

Here's the change to make this work for ages > 100.  Added "(3)" for precision.  SELECT (EXTRACT(YEAR FROM CURRENT_DATE) - EXTRACT(YEAR FROM brth_dt) (NAMED YEARS))      + CASE WHEN CURRENT_DATE -...

View Article


Secondary indexes - response (10) by deva

at what time these diff types of INDEXES will be useful can any one help me out

View Article

Command Help : Alter table modify column - response (9) by deva

how can i change  the data in the existing table 

View Article


Avoid Error 3519 in stored procedure - forum topic by Sarah_07

Hi, I have a created a stored procedure with many volatile tables. After calling the proc, the volatile tables will be dropped at the end of the procedure. But if i get any error while calling the...

View Article

Minimizing Redistribution - forum topic by UM

I have three tables A, B and C. Table B is a bridge/ relationship table having Ids from table A and C.  A and B have the same primary index. Table C has a different primary index. I am joining them...

View Article


Minimizing Redistribution - response (1) by sachin.sebastian

The optimizer is doing the B JOIN C first, probably because this will reduce the number rows upfront. Check the stats on the tables to confirm if they are up to date.

View Article

THow to terminate teradata stored procedure..? - forum topic by ashk660

Hi, I want to use this in Teradata Store procedure... If flag = 1 then goto LABEL_EXIT Else goto LABEL_OKAY END if flag is variable declared. I want to terminate my procedure if flag = 1... Teradata is...

View Article

THow to terminate teradata stored procedure..? - response (1) by barani_sachin

If u want to terminate your procedure Use "leave"ex -- Start of SP LABEL_OKAY:BEGIN If flag = 1 LEAVE LABEL_OKAY; --End of SP end LABEL_OKAY;-Barani

View Article
Browsing all 14773 articles
Browse latest View live


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