Join two tables using like statement - response (7) by M.Saeed Khurram
vandeberg, Agree with you, using a function, especially a string function will not only increase spool and full table scan, but also will cause the optimizer to use a product join strategy to resolve...
View ArticleOrder of partition columns in MLPPI - response (4) by Santanu84
Thanks guys for your responses. I will consider them as my baseline and try to evaluate more. Probably I will post more questions if I need clarifications. :-) Thanks Santanu
View ArticleJoin two tables using like statement - response (8) by dnoeth
The optimizer will not be forced to use a Product Join because there's another join condition T1.ColB = T2.ColB, thus the LIKE or SUBSTRING might be evaluated during the join. I would change the LIKE...
View ArticleJoin two tables using like statement - response (9) by M.Saeed Khurram
Dieter, My bad, I ignored that condition, thanks for the correction :)
View ArticleRemoving comma in a string - forum topic by uco
Hi Can anyone let me know how I can achieve this I have a column Bus_name varchar(55) in which some names have commas in them , they need to be removed while doing a select on the column example...
View ArticleRemoving comma in a string - response (1) by Raja_KT
Did you try with oreplace function? oreplace(column_name, 'string_to_replace','new_string') say: oreplace (col1,',','') Cheers, Raja
View ArticleRegarding dbc.qrylogsql table's sqltextinfo - forum topic by praveen_reddy
Hi All, I am using the column sqltextinfo in dbc.qrylogsql table and its giving .txt files. Can i get plain text in the table itself. Regards, Praveen.Forums: Database
View ArticleRegarding dbc.qrylogsql table's sqltextinfo - response (1) by Raja_KT
Hi Praveen, As far as I know, no. However, I think you cna do this way: create table tmp as(select sqltextinfo from dbc.qrylogsql ) with data; Cheers and Happy New Year, Raja
View ArticleRegarding dbc.qrylogsql table's sqltextinfo - response (2) by praveen_reddy
Hi Raja, Thanks for the quick response... If i am joining with dbc.qrylog its getting plain txt but if i joined with dbc.qrylogtbl i am getting .txt files. Regards, Praveen.
View ArticleRemoving comma in a string - response (2) by uco
Yes , It works good when I select only one column , it did not work when I select other columns along with bus_name
View ArticleRegarding dbc.qrylogsql table's sqltextinfo - response (3) by Raja_KT
I am not sure of plain text and .txt .Maybe your settings in SQL Assistant. Can you cast it to a varchar 64000 maybe and see if it works. Cheers, Raja
View ArticleRemoving comma in a string - response (3) by Raja_KT
You have not explained with other columns. Let me assume that you can try thus: select oreplace (col1,',','')||oreplace (col2,',','')||oreplace (col3,',','') from table1. For space use ||''|| say like...
View ArticleRemoving comma in a string - response (4) by uco
I am having select cola , col b, orreplace(bus_name, ',' ,'') col c, from table1 It is throwing error A column or character expression size is larger than max size
View ArticleRemoving comma in a string - response (5) by khatriprad
Hi, CAST the replaced column to smaller size,it will work for you
View ArticleRemoving comma in a string - response (6) by Raja_KT
Check your syntax properly. I can see a comma after col c and also why (col space c, col c).
View ArticleNested joins in Teradata - response (3) by drmkd17
Thanks Raja. Thanks Khurram. Please validate my understanding for the other joins as well. Merge Join : PI-PI join is on the same AMP. Hence no redistribution PI -Non PI join: Non...
View ArticleWINCLI32.DLL is missing after installing java - forum topic by cheeli
Hello Experts, I have installed Teradata Demo Express 13.0 on my lap. I was able to login to BTEQ and unsuccessful in logging to TPT as JRE is missing. I have installed the JRE version...
View ArticleWINCLI32.DLL is missing after installing java - forum topic by cheeli
Hello Experts, I have installed Teradata Demo Express 13.0 on my lap. I was able to login to BTEQ and unsuccessful in logging to TPT as JRE is missing. I have installed the JRE version...
View ArticleAccess Rights required to execute a Function - forum topic by vidyadutt.s
Hello Experts, I created the HASH_MD5 function from the UDF available in Teradata downloads. When I use this function, I'm getting the following error. SELECT HASH_MD5('ABCD'); $...
View Article