Reset rank when date interval exceeds limit - forum topic by Dolm
I've been bashing my brain against this and can't find a way to rank rows that works, though I'm sure this should be pretty simple. What I'm needing to do is reset rank when the interval between the...
View ArticleReset rank when date interval exceeds limit - response (1) by Dolm
I may have found a a solution with the following, this appears to rank the way I wantd. Could someone sanity-check this for me? RANK() OVER( PARTITION BY ID ORDER BY "DATE" RESET WHEN (cast("date" as...
View ArticleValue ordered NUSI - response (2) by Moutusi
Hi Rajeev, Thanks for reply. NUSI sub-tables are AMP local and not hash distributed. Now if the values of the NUSI column in a particular range is located indifferent AMPs, in that case how value...
View ArticleValue ordered NUSI - response (3) by rajeev saravanan
Hi Moutashi, As i said first all NUSI operations are all amp be it value ordered or non the advantage lies in reading the data out of subtable. Terdata works in parallel so it doesnt matter if data are...
View Articleusage of check point in fastload - response (11) by trustngs
Hi, While loading a empty table using Fload, in Acquisition Phase (Phase 1) getting database full error, later i added some more space to the database. Now what can be done complete the load process?...
View ArticleWarning: EOF on INPUT stream - response (3) by SuSeSi
Hi, EOF encounted while reading the line... this means you can try with a new line after quit or exit statement in the BTEQ script. This will ensure EOF is after the last bteq statement in the script....
View ArticleROW_NUMBER() OVER (PARTITION BY col1,col2.... order by col1) - response (3)...
How do we use Row_Number if our rows returned ends up larger than the 'Integer' limit on it?
View Articleselecting values from a table where max value is null - forum topic by mithunk
I have to select rows from the table where col1=max(col1). Here if the max(col1) is null, i dont get results because NULL cannot be compared as far as i know. Temporarily i have used...
View ArticleODBC Driver - forum topic by eugene.ang
Hi, Does anybody know if there is a ODBC driver for Aster? Regards EA Forums: Aster
View ArticleStored Procedure Vs Bteq - response (3) by sudheer51
"BTEQ" (Basic Teradata Query) is a tool (Client) to compose queries (and to see results). Where as "StoredProcedure" is a subroutine (a concept) in SQL. These two cannot be compared.., Its like,...
View Articleselecting values from a table where max value is null - response (1) by KS42982
One another option is to use CASE WHEN. To know what would work better, you can check EXPLAIN and compare the performance of different options.
View ArticleReset rank when date interval exceeds limit - response (2) by KS42982
Yup, it would work perfectly.
View ArticleBest way to generate the Sequential numbers : CSUM or IDENTITY columns? -...
Hi Experts, My Requirement is to generate the Sequential numbers in Column .. As It can be done in two ways : A) define as identity column b) CSUM(1,1) but i got to know from one of my peer that...
View ArticleINFORMATICA USES SECONDARY INDEXES? - response (4) by KS42982
No, I don't think UPDATE TPT also supports unique SI.
View ArticleRaise Error and Return value with in a stored procedure - response (5) by...
Is there a link to download RaiseSQLSTATE? I have worked with it (very successfully) on systems that have it, but cannot find it on this site?
View Articleusage of check point in fastload - response (12) by ThomasNguyen
Hello, It is correct, resubmit the job is just enough. Make sure that the Error tables and the target tables are untouched (i.e. no drop Error Tables, or recreate the taget table). Thomas
View ArticleTeradata DBS Version Info - response (1) by gryback
There is no specific portlet for that but there is the Remote Console portlet that offers a variety of console calls. There may be something there. You can review the User Guide for more information on...
View ArticleMoving Data from one box to another - forum topic by priya85
Hi, We are looking for best options to move data from one environment to another. Can you please suggest the best possible options. Thanks and Regards Sai PriyaForums: Tools
View ArticleTeradata Training Material available - response (15) by spinmail07@gmail.com
Hello Todd, It is very kind of you to try n help others. I am an expert SAS developer with basic knowledge of how to get around Teradata with SAS. I would like to prepare and take Teradata...
View ArticleDifference between Timestamp - response (5) by nt
hi, i need to know more about the below code seconds := (3600 * (To_Number(extract(HOUR FROM diff)))) + (60 * (To_Number(extract (MINUTE FROM diff)))) +(To_Number(extract(SECOND FROM diff))); I guess...
View Article