Quantcast
Channel: Teradata Forums - All forums
Browsing all 27759 articles
Browse latest View live

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

Yes there will be only one ALT_ID under a ALT_ID_TYPE_CODE for an ACCOUNT..   Thanks, Sachin. But under my requirements I am not allowed to use a group by on over all select. So this is were it gets...

View Article


Perforamnce due to Skew during Execution - topic by m.tahoon

The following query taked very long time during execution. total CPUSec consumed is not very high; but i'v noticed very high session skew factor from Viewpoint (CPU 80 % - io 97%) HOwever Data...

View Article


Join many data sets - topic by tdxue

Hello everyone, I am writing a SQL in Teradata which need to join about 40 datasets. Luckily the code for joining tables is almost the same except for changing the number in the name of datasets. How...

View Article

Help required on the query using analytic function - topic by BalaAG

Hi All, read more

View Article

select FirstRespTime ,* from DBC.DBQLogTbl - topic by cloghin

This is more of a convenience to frontshow some columns, maybe expressions, but still show all columns in the result set if needed. Is there some special syntax to achieve this? I have been able to run...

View Article


select FirstRespTime ,* from DBC.DBQLogTbl - response (1) by mohan.mscss

yes we can in TD also, select FirstRespTime, DBQLogTBL.* from DBQLogTbl Regards, Mohan K    

View Article

Cursors in stored procedures - response (2) by dnoeth

Hi Mithun, the syntax for returning result set is based on Standard SQL, but it's not an actual cursor (only those you actually process rows using fetch or FOR are sequential). A cursor for a DYNAMIC...

View Article

Please convert query oracle to teradata - response (1) by dnoeth

Hi Vamsi, The (+) indicates the inner table which is filled with NULLs. This should be the same in ANSI syntax: select address.address_id,address.state,dim_tab.src_system,di m_tab.dim_last_mdfd_dt from...

View Article


Join many data sets - response (1) by KS42982

You can do that using cursors and dynamic stored procedures.

View Article


Concatenate o/p of two select statements - topic by teradatauser2

Hi, I have a situation in which i need to concatenate o/p of two sel queries something like below: Sel col1,col2,col3 from table1 || sel max(eff_date) from table2 This is just for illustration, the...

View Article

Help required on the query using analytic function - response (1) by dnoeth

Hi Bala, OLAP functions are probably not the right approach (i tried them on a similar problem a few years ago and didn't find an efficient solution), but this can be easily solved (if the number of...

View Article

Concatenate o/p of two select statements - response (1) by dnoeth

Sel col1,col2,col3, (sel max(eff_date) from table2) from table1Dieter  

View Article

Can't compile UDF's on Windows - topic by tdgi

I can't seem to compile the UDF's run by DIP option 14 on Windows. I've got Visual Studio 2005 and the Platform SDK installed.  It keeps failing on a missing limits.h.  This file is located in...

View Article


Can't compile UDF's on Windows - topic by tdgi

I can't seem to compile the UDF's run by DIP option 14 on Windows. I've got Visual Studio 2005 and the Platform SDK installed.  It keeps failing on a missing limits.h.  This file is located in...

View Article

Can't compile UDF's on Windows - topic by tdgi

I can't seem to compile the UDF's run by DIP option 14 on Windows. I've got Visual Studio 2005 and the Platform SDK installed.  It keeps failing on a missing limits.h.  This file is located in...

View Article


Can't compile UDF's on Windows - topic by tdgi

I can't seem to compile the UDF's run by DIP option 14 on Windows. I've got Visual Studio 2005 and the Platform SDK installed.  It keeps failing on a missing limits.h.  This file is located in...

View Article

Can't compile UDF's on Windows - topic by tdgi

I can't seem to compile the UDFss run by DIP option 14 on Windows. I've got Visual Studio 2005 and the Platform SDK installed.  It keeps failing on a missing limits.h.  This file is located in...

View Article


Concatenate o/p of two select statements - response (3) by KS42982

The above solution would work perfectly with the scenario you mentioned. However, if you have more than one column to concatenate in your results and there is absolutely NO relation between 2 tables...

View Article

Concatenate o/p of two select statements - response (4) by KS42982

Actually no need for WHERE 1=1, it would work without that too. SEL col1,col2,col3, MAX(eff_date), COUNT(table2.xyz), ... FROM table1, table2 GROUP BY 1,2,3

View Article

Upgrading the 4Gb Teradata Studio Express 14 to 1Tb - topic by eramsaier

I installed the 4gb version and have realized I needed the 1tb version. Do I have to d/l and install the other version, or can I modify settings on the 4gb version?

View Article
Browsing all 27759 articles
Browse latest View live


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