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

Leading Spaces in answer set in SQLA - response (5) by barani_sachin

Thanks Khurram for the information :-)

View Article


Need Analytical window query help - response (2) by msk.khurram

Assuming the ID column as Primary_key I have made the following sample query: SELECT ID, Status, CASE WHEN NEW_DATA.Status = OLD_DATA.STATUS THEN 1 ELSE 0 END AS Status_Change_ind, StartDate FROM...

View Article


Select Failed: 3504: Selected non_aggregate values must be part of the...

You are not using any aggregate function in your SELECT clause & on top of that you are already doing DISTINCT alongwith GROUP BY clause (both of which has the same impact) You can solve the error...

View Article

error handiling in bteq error - response (1) by Qaisar Aftab Kiani

Can't see anything wrong with the .IF or .GOTO syntax.... Can you try removing the space between the \ and teradataexportoutput.txt ?? 

View Article

Leading Spaces in answer set in SQLA - response (6) by sharib hussain

Hi All, Thanks for the informations.  I don't think that it is some casting issue as when i connect to my PROD server and query the same , i dont get any leading space and if i disconnect and then...

View Article


Deleting duplicate rows in multiset table - response (8) by siva yekula

what is collect stats in TD...?Expalin with Examples..thanq siva..

View Article

Creating Group ID from SUM Limit - response (5) by ToddAWalter

This is missing the join to and division by the grand total. That is necessary in order to make the running sum a percentage contribution.  And I left off the multiplication of that result by 100...

View Article

Why we need spool at database level. - forum topic by vignesh093

Hi, Usually spool space level can be defined either at user or database level.since user will only be running queries,we need a temp. space to hold the intermediate table data but why you need a spool...

View Article


Need Analytical window query help - response (3) by Rakesh71

Thank You for the reply. I do not want to use Self join .I want to do it using Window functions.

View Article


Leading Spaces in answer set in SQLA - response (7) by KS42982

What if you use TRIM ?

View Article

Why the Optimiser does not run these STATS in parallel ? - forum topic by...

I am ranking my Product Level Data on the basis of higher grains of Products (Product=>BrandFamily=>Category=>Manufacturer). If all the Rank functions are indeoendent then Why Teradata does...

View Article

Need Analytical window query help - response (4) by mjasrotia

Select IDR , STATUS , CASE WHEN STATUS = PREV_STATUS THEN 0 ELSE 1 END AS STATUS_CHANGE_IND , START_DT FROM ( Select IDR , Status , COALESCE(MAX(STATUS) OVER (PARTITION BY IDR ORDER BY START_DT ROWS...

View Article

Leading Spaces in answer set in SQLA - response (8) by sharib hussain

Hi All, Thanks for your valuable suggestion.. i got the reason ... the machine which was showing result with leading spaces in answer set when using to_char is because of one UDF with the same name...

View Article


How to find table size and index size using Ferret utility - forum topic by...

Hi All, Can anyone tell me how to find the index size and table size using Ferret Utility.. Also what are the other methods to find out index size apart of creating the table with and without index and...

View Article

Deleting duplicate rows in multiset table - response (9) by Qaisar Aftab Kiani

Read the TD documentation, if you don't understand anything then post a specific question!!!!

View Article


MONITORQUERYBAND Open API Issue - response (2) by Cvinodh

Hi Dieter, Thanks for your reply.. But the issue is that some of the sessions that I process are FASTLOAD/MLOAD/FASTEXPORT sessions (through TPT). Hence I think these sessions are logged on to the AMP...

View Article

You dont want the DBA to see the records? - forum topic by YouAllAreStupid

i hav a qestion if u dont want the dba to see the reccords what kind of mechanism/technique we should use? view, macro, row levele security and i forget some option. Tags: questionForums: Database

View Article


Titile Stacking? - response (5) by teraforsk

No worries Khurram. I figured out by referring to the below post.http://bloghick.blog.com/2013/09/09/title-stacking/

View Article

Cost Profile Information - forum topic by Kishore_1

A cost profile is defined .I want to know the DIAGNOSTIC COMMAND associated with the cost profile. I tried finding the same in DBC.profileinfo. Though the name of the cost profile is present in the...

View Article

Migrate All the Tables of SQL Server DataBase to TeraData in one go - forum...

Hi, I am working on a project which is intended to migrate our SQL Server DataBases to TeraData. We are using TD 13.10. 1. I have tried OleLoad. But using this we can only export one table at a time....

View Article
Browsing all 14773 articles
Browse latest View live


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