Home All Groups Group Topic Archive Search About
Author
24 Nov 2005 5:26 AM
joeycalisay
hi guys!

just want to know if the answer on this thread is the best one.  please
check it out:
http://msforums.ph/forums/87274/ShowPost.aspx

i don't know if the bitwise operation generates the most efficient
query, please verify, thanks!

Author
24 Nov 2005 10:01 AM
David Portas
joeycalisay wrote:
> hi guys!
>
> just want to know if the answer on this thread is the best one.  please
> check it out:
> http://msforums.ph/forums/87274/ShowPost.aspx
>
> i don't know if the bitwise operation generates the most efficient
> query, please verify, thanks!

Why don't you test it out yourself? I suggest a better solution would
be to fix the faulty design. The sample table doesn't have a key so
eliminating the redundant data would be a big improvement in both
efficiency and integrity. That would be my solution anyway.

--
David Portas
SQL Server MVP
--
Author
24 Nov 2005 10:07 AM
jokiz
hi david, sorry for the confusion.

the table design was given and not a live data.  we just have to find
the right and most efficient query to get the desired results given the
said data.  i don't know how to test the queries since i don't know how
to read execution plans...

AddThis Social Bookmark Button