Posted by StevePBurgess on 01/16/07 15:51
> If you want me or anyone else to say somehting more useful, we would need to
> see:
>
> o CREATE TABLE and INDEX statements for the tables.
> o The fast query (and repeat the slow while you are it).
> o The output from SET STATISTICS PROFILE ON when you run the two from
> a query tool. This output is very wide, so put in an attachment if
> possible.
> o Which version of SQL Server you are running.
>
Hi. Thanks. The question was really about whether the SQL is valid
(given the relationships that are defined) and/or whether it could be
written more efficiently.
Navigation:
[Reply to this message]
|