Estimate and Actual are different and causing PJ. - response (3) by BPP
@Dieter: Yes it is same as SPOLISETTI question. When we first got this problem we suggested the same to the users but they are so tough on not changing their query. They are tied to the idea that...
View ArticleTeradata 12 and Subqueries - response (10) by SPOLISETTI
Thank you very much Dnoeth for your quick response. In my case, Set {a1 } = Set {a2 } . Hence I converted LOJ to Inner Join. Going forward, we will preach our app teams to avoid Corelated SSQs :)
View ArticleRecursive View - forum topic by msureshg
Hi, I am using a recursive view which is giving the chain of the managers to whom a particular Employee is reporting at various level. For Example:-Suppose the manager of Employee A is B and the...
View ArticleAbout Partitioned Primary Index (PPI) - forum topic by Kbos
Hi everyone.. Well, I have a table with the following structure and I need to add a new RANGE by adding the field People_Subscription_Start_DT: PARTITION BY RANGE_N (People_Subscription_Start_DT DATE...
View ArticleSecondary indexes - response (7) by Kbos
I agree Adeel. It depends how the table is gonna be accessed, in addition the fields you are crossing when creating the query...also if is a table that stores a lot data....you should consider this and...
View ArticleCasting in PPI definition - forum topic by Sen_td
Hi All, I have a PPI table defined as like below, CREATE SET TABLE SAMPLE.TEST ,NO FALLBACK , NO BEFORE JOURNAL, NO AFTER JOURNAL, CHECKSUM = DEFAULT, DEFAULT MERGEBLOCKRATIO (...
View Article"From" clauses in Create database query. - response (4) by seahawkmehta
Hi denoth Thanks for your response.
View Articleconvert string to date format - response (13) by usczeus
I'm trying to convert dates like this "Apr 7, 2013 8:28 PM" to date format, any suggestions?
View ArticleSecondary indexes - response (8) by Adeel Chaudhry
Also, SI will have some (may be very minor) performance impact as well while loading of data.
View ArticleAbout Partitioned Primary Index (PPI) - response (1) by vikas_yadav
hi, you do not need to add the field People_Subscription_Start_DT in PPI. yes you need PPI if you want to add range.
View ArticleSecondary indexes - response (9) by vikas_yadav
you can use PPI also but for that you will need to create new table with PPI define on that and you have to do insert select from the old table to use PPI.it will help you in future when you will run...
View Articleconvert string to date format - response (14) by Harpreet Singh
Use as below SELECT 'Apr 3, 2013 8:28 PM' AS COL1 , case when position( ',' in (substring(COL1 FROM POSITION('' IN COL1)+1 for 3) )) =2 then SUBSTRING(COL1 FROM 1 FOR POSITION('' IN COL1)-1)||'...
View ArticleActivity count zero for TPump UPDATE or DELETE - response (2) by Jessy Mahesh...
i have changed below two things 1) first change .DML LABEL LABELA MARK MISSING UPDATE ROWS ; 2) second change Error limt has been increased with 20 still we are facing below mentioned problem,...
View ArticleDrop Temporary Tables - forum topic by ALovick
Hi, I have a temporary table that I need to drop but I can't run DROP TABLE Db1.Table1; because it says error 5337 drop table is not allowed due to materialized temporary tables So we went to every...
View ArticleAbout Partitioned Primary Index (PPI) - response (3) by Kbos
Hi Vikas, thanks for ur response...So, what You say is that If I add a new range by People_Subscription_Start_DT, Do I need to include People_Subscription_Start_DT as part of PI as it follows? Every...
View ArticleExpired Password Prompt - forum topic by goldminer
Every now and then I run into a situation where a user's password expires and I am not able to reset the password to produce a prompt to change. I run all users through a profile. I have set up...
View ArticleRecursive View - response (1) by KS42982
I agree with the fact that recursive queries are slow as it takes lot of spool but for only 70K employees, it should not take that long. We process 100 of thousands of records with it and the outcome...
View Articleconvert string to date format - response (15) by usczeus
Worked like a charm Harpreet! Thank you!
View ArticleSQL to import string with comma (,) from a file using SQL Assistant - forum...
Hi, I am trying to import data from a text file using a SQLAssitant. But it is giving me an error as the string contains ",". I am using this below syntax for inserting: CREATE VOLATILE TABLE...
View ArticleLocking of the DBC tables - forum topic by krishaneesh
we have batch jobs running 24 hours. Through out the day there are fastload jobs using multiple users which include dropping and rebuilding the tables. Due to this there are locks on the dbc tables...
View Article