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

Filter consecutive records that have same value as preceding record -...

Here it is... sel csum(1,c1) ,con_rec.* ,min(c2) over (rows between 1 preceding and 1 preceding) as a , min(c3) over (rows between 1 preceding and 1 preceding) as b ,case when c2=a and c3=b then...

View Article


Left outer join with a NULL value - response (2) by Fred

Using your simplified example above, I get three rows returned as expected - though of course the answer set has six columns instead of 5 because column A.A and B.A are both included. Perhaps you need...

View Article


Forms/Web Applications to enter Comments/Text to Database - response (5) by...

i want to insert the data using bteq script that table having the date column as current date how to insert in script    

View Article

Oracle Replay feature in Teradata? - response (1) by CarlosAL

Steven: You may take a look at Teradata System Emulation Tool. HTH. Cheers. Carlos.

View Article

Flasback Facility - response (1) by CarlosAL

Steven: You could implement the Oracle 'flashback query' (SELECT ... FROM ... AS OF <TIMESTAMP> ) with Teradata Temporal. HTH Cheers. Carlos.

View Article


SQL Query Tunning - response (7) by yaragalaramesh

Hi Dieter, i have a query like as follows SELECT c.unit_num ,c.trans_end_dt ,c.Coupon_cd AS Coupon_cd ,COUNT(DISTINCT Loyalty_Member_Id ) AS "Customer count" ,SUM(Net_Sales_Amt) AS Sales...

View Article

DBA password recovery / DBA password recovery from OS / any way to recovery...

Hi there, Is there any way to recovery password for sysdba in Teradata from filesystem? As far as I know, there is option like this in Oracle where Oracle user can enter the database as sysadmin...

View Article

Casting a datetime to date and to character - topic by SofiaVer

Hi all, I am a total newbie at Teradata, and i have to write a query that I can't easily test on a Teradata system (someone else is running the query for me, it takes weeks for them to get back to me...

View Article


Oracle Replay feature in Teradata? - response (2) by sfhall

Thanks Carlos I will do.   Steven

View Article


Flasback Facility - response (2) by sfhall

Again, thank you Carlos. I have a look.   Steven

View Article

CHAR PARTITION (TD 13.10.04.12) - topic by surapurajurp

HI Teradata Gurus, We tried to implementing CHAR PARTITION using CASE one a table. The optimizer is using the partition in explain plan but there is NO Major change in resource usage(CPU/Spool/ I/O)....

View Article

CHAR PARTITION (TD 13.10.04.12) - response (1) by surapurajurp

As per my understanding, when data retrieving from partition then the resource usage should come down compare to compare to full table scan. But this is not happening in this case.  If anyone had...

View Article

insert data from .csv file into Teradata with SLJM - topic by Dantes

How can I insert data from .csv file into Teradata with SLJM tool

View Article


Spool space issue relating to ROW_NUMBER () OVER (PARTITION statements -...

Hey all,   read more

View Article

5,781 You cannot collect statistics on more than 32 groups of non-indexed...

Hi , I get this error while collecting stats: 5,781 You cannot collect statistics on more than 32 groups of non-indexed columns.   I have a table with NUPI on col1. I am trying to collect stats on this...

View Article


Casting timestamp to date and to char - topic by SofiaVer

Hi all, I am a total newbie at Teradata, and i have to write a query that I can't easily test on a Teradata system (someone else is running the query for me, it takes weeks for them to get back to me...

View Article

Casting timestamp to date and to char - response (1) by CarlosAL

Sofia: You seem to be using '+' as a concat operator, which in Teradata must be '||'. You don't provide the table definition, but your query will fail if the column DATE_DT is a timestamp(6) (for...

View Article


Oracle Replay feature in Teradata? - response (3) by sfhall

I can see that the tool has a degree of control over connectivity but is it possible to schedule and monitor SET exports/imports from the command line? Also how long would it take to complete a SET...

View Article

Spool space error in collect stats - topic by teradatauser2

Hi, I am facing a problem with collect stats. One collect statistics is submitted using a ETL id, it runs for more than an hour and errors out with spool space error. The table is a big one. When the...

View Article

Partition on CHAR Column is not working as expected. - topic by surapurajurp

    We have created PARTITION on CHAR column using CASE_N as like below. But it is not giving any performance in terms resource usage (CPU/Spool/ I/O).  My question is when we filter data on parttion...

View Article
Browsing all 14773 articles
Browse latest View live


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