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

Cursors in stored procedures - response (6) by Fred

You will have to provide more detail if you want assistance. Simply using a cursor will not double the number of rows.

View Article


Improve performance of like queries. - response (4) by barani_sachin

Thanks Dieter -:)

View Article


ROW number based on order of Insertion - forum topic by bala2121

Hi All,  Normally, we can find row_number based on the order of columns using ROW_NUMBER() function. select row_number() over(order by col1) from tablename ; Is there any way in Teradata to get the Row...

View Article

ROW number based on order of Insertion - response (1) by VBurmist

Hi, you could save timestamp of insertion into a separate column (during inserts), and use it for that purpose.  It would take more perm space to store the table though. Regards, Vlad.

View Article

ROW number based on order of Insertion - response (3) by bala2121

Hi Vlad, Thanks for your response. Will try that. Meanwhile, Is there any option to acheive the same thing within the scope of Row_number() function. I wanted to convert an existing sybase code into...

View Article


ROW number based on order of Insertion - response (4) by VBurmist

Bala, Not that I'm aware of, sorry.  Rowids in Teradata do not impose sequential order the way you describe it.     Thank you, Regards, Vlad.

View Article

General information about stats - forum topic by eejimkos

Hello,  1.I would like to ask if there is any table in Teradata , like tab_modification in Oracle where we can see the tables which have more than 10% of dml transactions? If not , which is the...

View Article

Double historization Tables from Core layer - forum topic by eejimkos

Hello,  When we want to access from Core layer double historization tables , such as (valid from --valid to && start_from -- end_to) , how teradata handles this situation. If the view that we...

View Article


Handling the number of dml transactions - forum topic by eejimkos

Hello,  I have make a search and i found until now that only with procedures we may get the number of rows affected during a dml transaction. Through bteq or macro is it possible? Or,even do you have...

View Article


Space consumed by Primary Index - response (3) by VBurmist

Sudipta, The beautiful thing is _why_ primary index doesn't cost you space.   This is because Primary Index is effectively a part of the data storage mechanism that addresses Data blocks on the AMPs:...

View Article

Select query works but create/replace view doesn't work - response (1) by...

Hi Subhashish, Today while coding I also faced the same issue....try to change the LENGTH function to CHAR function. Hope it works for you too. Thanks. 

View Article

DBQL Metrics - response (4) by samurai07

Thanks Dieter. It was really helpful

View Article

Space consumed by Primary Index - response (4) by Nishant.Bhardwaj

Thanks Vlad for your response.. I belive that its size wont be fixed , the size of the Subtable is going to grow based on the data in main table. for the tables which are currently in development...

View Article


Database on VMWRE get stuck. - forum topic by indrajit_td

Hello,  I have been using the VMWARE - Teradata 14. The database on the VMWARE doesnt seem to be progressing and is stuck on this state of pde  TDExpress14.0_Sles10:~ # pdestate -a PDE state is...

View Article

How to create records from a defined range - response (8) by suyog

Hi Carlos,Dieter -  this solution helped me immensely in my problem.  however, I have one question - how would you deal with two dimensional data e.g. instead of id_n hi_n low_n ----------- -----------...

View Article


Common Table Expression Within View - response (2) by eric.lord

Same problem here... Is there an answer?

View Article

Common Table Expression Within View - response (3) by ToddAWalter

What release are you running? This capability was allowed in TD14.0 and future releases.

View Article


qualify rank() over (partition) - question - response (1) by dnoeth

It's hard to guess without any details about the rules you want to implement. select * from tab qualify rank() over (partition by inr, rd order by dt desc, ct1 desc, ct2 desc) = 1  Dieter

View Article

ROW number based on order of Insertion - response (5) by barani_sachin

Bala, I dont think you will be able to select the rows the same way you had inserted. Though one way would be, if you are inserting into a table in a particular order try to insert the row number for...

View Article

R(analytics) online Training - forum topic by saxenariya

  Hi All, Intellipaat is Staring new Batch on R(analytics) From 5th July 2013. Interested Candidates Can drop a mail at sales@intellipaat.com or can give a call on 9019368913. you can visit the website...

View Article
Browsing all 14773 articles
Browse latest View live