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

Add partitions to multi-level ppi - response (1) by KS42982

Can you be more specific ? What exactly you want to extend ? The interval of the partition ?

View Article


Skew Calculation At Database Level - topic by rajeev saravanan

Hi, Following an earlier post on skew calculation at table level http://forums.teradata.com/forum/database/skew-factor-1 will it be correct to calculate the skew at the database level using the...

View Article


Checking sequence of numbers and populate a flag if number is out of sequence...

Hi All, First of all, I wish you all a HAPPY NEW YEAR. I have a requirement which I have explained below by using data: Data in source table:   Serial_Number Send_Date File_Number read more

View Article

Checking sequence of numbers and populate a flag if number is out of sequence...

Hi.. Hope below query helps you out.. sel Serial_Number, Send_Date , Count(*)  as File_Count , Case When ( Max_Seq - Min_Seq ) + 1 = File_Count Then ' No'  Else 'YES' END as Non_Seq_Flag, Min...

View Article

Checking sequence of numbers and populate a flag if number is out of sequence...

just ensure the table has not duplicate records like.. Either define the table as SET which will have CPU-I/O overhead for duplicate row check Or before executing above query check duplicates by sel...

View Article


Checking sequence of numbers and populate a flag if number is out of sequence...

just ensure the table has not duplicate records like.. Either define the table as SET which will have CPU-I/O overhead for duplicate row check Or before executing above query check duplicates by sel...

View Article

Checking sequence of numbers and populate a flag if number is out of sequence...

Hi Sagar, You can try the following query as well, this should work with duplicates also It will just increase the filecount Here tab id the table which contains the data Please try and let me know if...

View Article

Checking sequence of numbers and populate a flag if number is out of sequence...

Hi Rajeev, It worked well and thanks a lot for your reply. By any chance, do you have any internet link where I can get detailed explanation of OLAP and advanced OLAP functions like MDIFF etc. Regards,...

View Article


Time Data Type - topic by sunni1221

  Hi  I have created a table with column as TIME(0) data type. When I look at the table DDL, through SHOW TABLE, it shows the column data type as 'Integet Format '99:99:99'. Time data type are stored...

View Article


Checking sequence of numbers and populate a flag if number is out of sequence...

Hi Rajeev, I have some new requirement extention to above mentioned one. I want to use above output as input to this.  Input (Above Output):- Serial_Number Send_Date File_Count Non_Seq_Flag 76543890...

View Article

Collect stats - topic by teradatauser2

Collect Statistics On tab2_new  From tab1_old

View Article

Checking sequence of numbers and populate a flag if number is out of sequence...

The below query will work with duplicates along with null values if we have it in File number too.. sel    Serial_Number,    Send_Date ,    Count(*)  as File_Count ,    Case When ( Max_Seq - Min_Seq )...

View Article

Checking sequence of numbers and populate a flag if number is out of sequence...

Hi Sagar Pls try the following query for your additional requirement Sel Send_Date ,sum(file_count) ,max(Non_Seq_Flag) from (sel Serial_Number ,Send_Date ,max(cnt) file_count ,case when max(diff) >...

View Article


Time Data Type - response (1) by m.tahoon

i recall Dieter had replied same querion before: let me recall his point: - you are using SQLA, odbc connection method - what you need to change is the DateTime format in the ODBC options from III  to...

View Article

Teradata Express for WIN 32 BIT - response (9) by rajatdada

I was going through the same trouble of finding the right download version for win 32, luckily I have found the old link I used 3 months back on a win32 machine in my emails.   try this link guys, this...

View Article


Error Code 4 Solution required - topic by vital_parsley

Hi i have written a script in bteq . The queries execute fine but at the end the scripts exits with below error.   *** Warning: EOF on INPUT stream.| *** BTEQ exiting due to EOF on stdin.| *** Exiting...

View Article

Alter table add columns from variable - topic by pwe6340

Is it possible to create new columns in a table using variable names for the columns? My intial guess was something along these lines:   read more

View Article


Skew Calculation At Database Level - response (1) by rajeev saravanan

Hi All, Can anyone help me with the above query ? Thanks in advance    

View Article

Target row updated by multiple source rows. - topic by more2013

Hi All, I am running below update statement in proc -- update a from a, tmp /*temporary table */ set flag = 'N' where a.COL1 = tmp.COL1 and a.COL2 = tmp.COL2 and a.flag <> 'N'; Error : - Update...

View Article

Time Data Type - response (2) by sunni1221

Thank you Tahoon. It worked. I am trying to change to ANSI mode, without trying to modify the ODBC setting. Can it be over written for only specific session. I tried 'SET SESSION DATEFORM=ANSIDATE' in...

View Article
Browsing all 14773 articles
Browse latest View live