Thread
:
Slow query missing indexes?
View Single Post
#
2
(
permalink
)
11-24-08, 07:59
r937
SQL Consultant
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,083
just thought i'd point out that with NEWID() in the SELECT clause, every row returned will be distinct, so you don't need the DISTINCT keyword
__________________
r937.com
|
rudy.ca
please visit
Simply SQL
and buy my book
r937
View Public Profile
Visit r937's homepage!
Find all posts by r937