Quantcast
Browsing all 14773 articles
Browse latest View live

New Feature in TD 14 from TD 12 - forum topic by eric_td

Hi Could you please help me with new features(from TD 12 to TD 14), I am trying to list significant new feature(not enhancements/upgrades).. Are there any more  TD 14. Columnar, Number and Array data...

View Article


How to update the duplicate records in Teradata - response (4) by...

What should be the UPDATE statement in case of below requirement. Requirement - if there are 2 perfect duplicate rows in a table having the same data in all the columns then i need to update column1 of...

View Article


Problems with dynamic creation of Volatile tables - response (10) by Deepak...

Hi,  My client has given requirement to create a GT using WITH DATA option. However, I am getting error "5509: Global temporary table cannot be created WITH DATA". I am using database release 13.10....

View Article

Teradata Express for WIN 32 BIT - response (12) by Yaejoe

Wow. Its works great. Thanks a lot Rajat ! Joe 

View Article

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

Directly as it is you cannot use this timestamp. it will through an error 'Invalid Timestamp'. you have to supply timestamp with dot. sel cast (trim(cast('YYYY-MM-DD HH:MI:SS NNNNNN' as varchar(19)))...

View Article


How to update the duplicate records in Teradata - response (5) by KS42982

You can use row_number to assign different numbers to each perfectly duplicate rows and then update 1 columns of 1 row by putting filter condition like row_number = 1

View Article

calling a SP inside a SP. - forum topic by barani_sachin

Hi all, I am facing the below error while trying to call a SP from another SP!!CALL Failed. 3523:  TEMP:An owner referenced by user does not have EXECUTE PROCEDURE access to temp1.  REPLACE PROCEDURE...

View Article

Generating Sequence Number - response (6) by Jessy Mahesh Kothapalli

Hi Team,  I’m just inserting ‘9925203’ records into backup tables which is having SEQ_NUM SEQ_NUM decimal(10,0) NOT NULL GENERATED ALWAYS AS IDENTITY (START WITH 1 INCREMENT BY 1 MINVALUE 1 MAXVALUE...

View Article


Generating Sequence Number - response (7) by Jessy Mahesh Kothapalli

  Why it is showing maxvalue is greather than actuall row count?select count(1) from prod_olap_bkp.w_plrevn_op_a--9,925,203Why it is weird behaving ?

View Article


Can someone guide me in calculating the sum in the case - forum topic by...

Table dataSys NumId Descr 0001 10 Provider 0001 10 Pro 0002 84 Service 0003 24 Buisness 0003 24 Admin 0003 24 Finance 0004 41 PhilosophyAll i want is to calculate the running sum based on the SysNum...

View Article

Generating Sequence Number - response (8) by ulrich

becaus the increment by 1 is handled vproc local. Identity columns are not guarantee a sequence - they only quarantee unique ids. Each vproc request a range of numbers he can assign next. The size of...

View Article

Generating Sequence Number - response (9) by ulrich

P.S. read the documentation carefully before using identity columns. There are other issues as well which need to be considered...

View Article

calling a SP inside a SP. - response (1) by KS42982

I think the error that you get is not about the access at the user level, but at the database level. database 1 (temp) doesn't have execute procedure access to database 2 (temp1). I am not a DBA, so...

View Article


Can someone guide me in generating the Seq number? - forum topic by...

i/p data Sys Num, ID, Descr, 0001, 10, Provider 0001, 10, Pro 0002, 84, Service 0003, 24, Buisness 0003, 24, Admin 0003, 24, Finance 0004, 41, PhilosophyMy desired o/p is Sys Num, ID, Descr, Sum 0001,...

View Article

SUBSTR without explicitly coding the length parm - forum topic by ronirwin

Hello I'm have a query that's taking a Failure 2805 ENTDW_IN_PRT_ACV2IN_PRT_ACV_SP:Maximum row length exceeded in ..... error.   Bascially, I have eight VARCHAR(4000) columns in the table which is...

View Article


calling a SP inside a SP. - response (2) by Fred

The "owner" (database or user in which TEMP is defined) does not have EXECUTE PROCEDURE right for TEMP1. Rights of the user are checked when invoking TEMP, but because TEMP does not specify SQL...

View Article

Can someone guide me in calculating the sum in the case - response (1) by Fred

Looks like you want DENSE_RANK, which is not implemented natively in Teradata. See Dieter's blog http://developer.teradata.com/blog/dnoeth/2011/05/missing-functions-dense-rank

View Article


Can someone guide me in calculating the sum in the case - response (2) by...

this one might give a better picture than the previous one Sys Num, ID, Descr 0001, 10, Provider 0001, 10, Pro 0002, 84, Service 0003, 24, Buisness 0003, 24, Admin 0003, 24, Finance 0004, 41,...

View Article

Oracle "REPLACE" function equivalant function in Teradata - response (4) by...

Hi All, In order to overcome this I have created a procedure in my database to replace a particular string with another. REPLACE PROCEDURE REPLACE (IN in_source_str VARCHAR(4000), IN in_search_str...

View Article

SUBSTR without explicitly coding the length parm - response (1) by ulrich

I can't reproduce the issue. select top 100 substring(myvar from 4), substr(myvar,4), substr(myvar,14,CHARACTER_LENGTH(myvar)) from mytbl;but as you can see above you don't need to specify the thrid...

View Article
Browsing all 14773 articles
Browse latest View live


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