Lets say I have a query like this:
select name,nameplural,address,schoolName
from name_table with(nolock)
left outer join address_table on
addrid=nameid
left outer join school_table with(nolock)
on schlid=nameid
I am pulling data from 3 large tables.(name,address and school)
Any ideas on optimization (ie I am hitting three different large tables). I ask because when I put this into a crystal format, it takes forever to compile.
select name,nameplural,address,schoolName
from name_table with(nolock)
left outer join address_table on
addrid=nameid
left outer join school_table with(nolock)
on schlid=nameid
I am pulling data from 3 large tables.(name,address and school)
Any ideas on optimization (ie I am hitting three different large tables). I ask because when I put this into a crystal format, it takes forever to compile.