View Single Post
  #2 (permalink)  
Old 11-24-08, 07:59
r937 r937 is offline
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
Reply With Quote