467,189 Members | 1,378 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,189 developers. It's quick & easy.

SQL need to be optimized

Hi all,

I have a sql like this:

Select *
from table_X
where col_a || col_b
in
(select col_c || col_d
from table_ Y);

The syntax seems be OK, however it takes very long to complete, anyone knows why? is there any way to improve this SQL to achieve same purpuse?

Thanks
Sep 3 '07 #1
  • viewed: 772
Share:

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by Glen Low | last post: by
8 posts views Thread by Jarod | last post: by
10 posts views Thread by Mike | last post: by
11 posts views Thread by lakshmiram.saikia@gmail.com | last post: by
7 posts views Thread by Zytan | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.