I want to select a boolean if there exists a row in another table that matches this one.
So I did select ..., (select count(*) from table2 where ...) > 0 ...
but that count(*) was taking forever. I know there is a better way to do it, but whenever
I try to use EXISTS I get a syntax error. What is the proper way?
--
Joseph Shraibman
jks@selectacast.net
Increase signal to noise ratio. http://www.targabot.com