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

SQL Syntax - response (5) by AsherShah

Partition By Clause on proper column solved the issue. Thanks Ulrich and Dieter for your help. Asher 

View Article


Teradata Express for WIN 32 BIT - response (11) by tuser

Thans a ton Rajat! btw folks its latest 13.0 download!

View Article


Need to convert Rows to columns - response (2) by himuengg

A bit modified to get closer to the output shown by Praneet :-) . Although its based on Dieter's trick :-).  SEL ID1, COALESCE((CASE WHEN ID2='A' THEN AMT END),'') AS A, COALESCE((CASE WHEN ID2='B'...

View Article

Problem with Date conversion - response (3) by himuengg

Another way:   SEL CAST(CAST( ADD_MONTHS((CAST(CAST(070206 AS DATE FORMAT 'YYYY/MM/DD') AS CHAR(20))    ),1200)  AS DATE FORMAT 'YYYY/MM/DD') AS CHAR(20))

View Article

Data movement across Terdata server - response (3) by goldminer

If the requirements permit it, I usually move data from a backup between systems.  There are usually faster connections to your backup media and the source system is not effected by a Fast Export.  I...

View Article


MVC is helpful for running queires - response (1) by goldminer

No one can say for sure because of all the unknowns associated with your situation and queries, but more rows per block many time results in better query performance.  Usually MVC can achieve both...

View Article

Will volatile tables be dropped? - response (18) by rhlchkrbrty

Hi, Volatile tables won't get dropeed automatically, till you are logged in the session.

View Article

Single Table Join Index VS Multitable Join Index - forum topic by nauman604

If we need to join two very large table on non index colums then what is the better choice? Single Table Join Index or Multitable Join Index?Forums: Database

View Article


Single Table Join Index VS Multitable Join Index - response (1) by AhmedLabib

Well, this depends on many factors. At the end both of them will do the trick but there are things to consider Multi-table join indexesYou will be building a complete replica of both huge tables joined...

View Article


Will volatile tables be dropped? - response (19) by maniamenon

Hi Dieter, Thank you very much for the information. I have created the Volitile Tables first and then created the Stored Procedure. Now it gives warnings saying SPL5000:W(L46), E(3803):Table...

View Article

MVC is helpful for running queires - response (2) by Harpreet Singh

Hi Arindam, Using MVC will help in perfromance here. Basically work that is done for MVC column is 1. while inserting data row it needs to be compressed for column or existing data needs to be...

View Article

Query for dropping a PPI column - forum topic by MBR

Hi All, Anybody tell me the query for dropping a PPI column in table. Thaks in advance  Regards Forums: Database

View Article

Stored Procedure Vs Bteq - forum topic by rajeev saravanan

Hi All, Could any one tell the advantages and disadvantages of using SP and Bteq basically a comparison of both and the scenario when one is prefered over another My general understanding is the that...

View Article


Query for dropping a PPI column - response (1) by KS42982

ALTER TABLE.. MODIFY PRIMARY INDEX DROP RANGE BETWEEN...

View Article

Merge Syntax - forum topic by craigwg

I am using a merge but I'm  having a newbie syntax error I think. Here is my statement:MERGE INTO tables_dev.cust_wishlist AS tgt USING stage.WL_WISHLIST AS src ON tgt.cust_wishlist_id = src.id AND...

View Article


Metadata information for a view - response (3) by Fred

HELP COLUMN dbname.viewname.*;

View Article

Copying data from V13 to V14 - forum topic by akasarla

Our production database is version 13 and our UAT database is upgraded to version 14. Now I want to refresh UAT with Production data. Can we copy from the backup of production eventhough both databases...

View Article


Merge Syntax - response (1) by teradata_techie

Hi Craig  Try changing the SET condition to the following. UPDATE SET target_column1 = src.source_column1 ,target_column2 = src.source_column2 ,target_column3 = CURRENT_DATE ,target_column3 =...

View Article

Query for dropping a PPI column - response (2) by MBR

Thanks KS for replying above query is for altering a ppi right? but i want to drop that column permanently, how can we do that? Regards    

View Article

How to exit a SP? - forum topic by barani_sachin

Hi All,    How to exit an SP in a midway if some conditions are met? is LEAVE the only option? Also in SP manual states that if leave is used all the open cursors will be closed in that block, if so is...

View Article
Browsing all 14773 articles
Browse latest View live


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