By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,226 Members | 1,032 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,226 IT Pros & Developers. It's quick & easy.

SQL need to be optimized

P: 4
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
Share this question for a faster answer!
Share on Google+

Post your reply

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