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

Command Help : Alter table modify column - response (6) by dnoeth

I never heard of problems regarding RENAME. It just needs a short exclusive lock, but you probably don't want to do that during production hours anyway. Dieter

View Article


I need to add starbox comments to table DDL. Works with view DDL, but not...

Hi Agrias, no, there's no way to keep any comment/formatting within the table DDL. The output of a SHOW TABLE is not retrieved from any system table, it's created ad-hoc by the parser. There is the...

View Article


Concatenate o/p of two select statements - response (11) by nandigama_ramprasad

yes,thanks guys

View Article

How to insert recursive query answerset to another table - topic by Gowtham

Hi,   For a looping concept, i had done a query in recursive but i dont know how to load the result to another table, I need your help to load the answerset to another table.   Thanks

View Article

JDBCException - Insufficient memory to parse this request. - topic by nkardos

Hi, We are facing problems with the JDBC driver, when issuing (real) unicode  SQL with more then 32kb text: Caused by: com.teradata.jdbc.jdbc_4.util.JDBCException: [Teradata Database] [TeraJDBC...

View Article


Command Help : Alter table modify column - response (7) by taruntrehan

Hi All, Here DBA team has a different standardised approach as per them. They ask you to create new columns, copy data , drop old column , rename new columns. Its a burden on developer as to change...

View Article

Help required on the query using analytic function - response (3) by BalaAG

Hi Dieter, Thanks for the query.Your query works amazing as per the requirement. I have few questions on that: 1) Recrsion an multiple AMP operation as per the PI we create or an Single AMP Operation...

View Article

Clarification doubt on SPOOL SPACE - topic by Teraone

Hello, I am new to teradata,  I have SQL code previously it was running fine. but some day i am getting spool space error on my userid. When i am trying to run in another user id its working fine. Why...

View Article


Problem With High PJI - response (2) by rajeev saravanan

Hi Carlos, I was under the impression that a high PJI indicates a notorious product join, thanks for pointing out that a complex select which utilizes lot of resources may also lead to a high PJI I was...

View Article


Dropping Primary Composite Key - topic by taruntrehan

Hi All, I have a table that has a composite key defined on 2 columns. These column are not a part of primary index. The table contains data. I am trying to drop primary key using the following command...

View Article

Dropping Primary Composite Key - response (1) by VandeBergB

You can't drop a Primary Index in Teradata. Your initial assertion that its a primary key but not part of the PI cannot be correct.  If you specify Primary Key in your Teradata DDL, TD will create it...

View Article

I need to add starbox comments to table DDL. Works with view DDL, but not...

Thanks for the response Dieter, I'll look into what we can do with DBC.TVM.  

View Article

Clarification doubt on SPOOL SPACE - response (1) by KS42982

All users are allocated with certain amount of spool space for the query answer set. So there are chances that your user id got allocated with less space than the another one that you use. Spool space...

View Article


How to insert recursive query answerset to another table - response (1) by...

insert into target with recursive cte as (select ...) select * from cteDieter  

View Article

Help on Query Tunning - topic by JGP@1979

  read more

View Article


Help on Query Tunning - response (1) by rajeev saravanan

Hi, Since you are harcoding the date value we can avoid the join with the calender table depending on the volume of the data involved if its is not really high then probably we can try an approach...

View Article

Help on Query Tunning - response (2) by JGP@1979

@Rajeev Thanks for looking into the issue. The volume of data is huge and the query provided by you made it worse.  

View Article


exact table clone - topic by eejimkos

Hello,   Thank you in advance for your time. I want to create a table with the same structure as an existing one. The problem with the create table command , is that it does take under consideration...

View Article

Index Cocepts in Teradata - response (6) by sachin.sebastian

USI retrieval can be a 1 or 2 AMP operation. In a scenario where the hash value of PI and USI are the same, the SI subatble row as well as the base table row will be on the same amp. Still it is a 2...

View Article

How to transpose rows to columns without the use of .sql and Bteqs - response...

You can also use windowed aggregate functions, like Rank() Over (Partition Acct_num, Acct_type)

View Article
Browsing all 14773 articles
Browse latest View live


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