Hello all.Ive got the following SQL query and i want to return only distinct [ReviewID]'s, however SQL Server is complaining about it. This is the query:SELECT DISTINCT Top 5 [ReviewID],[ReviewType],[ReviewTypeName],[LoginID],[LoginForename],[LoginSurname],[Approved],[ReviewDate] ,[Stars],[RelatedProductID],[Title],[Copy],[Rating], [Image1], [Image1Width], [Image1Height], [Image1AltText], [Image2], [Image2Width], [Image2Height], [Image2AltText], [CategoryL4] FROM [feManagedReview]
This is whats its complaining about:Msg 421, Level 16, State 1, Line 1The text data type cannot be selected as DISTINCT because it is not comparable.Msg 421, Level 16, State 1, Line 1The text data type cannot be selected as DISTINCT because it is not comparable.Msg 421, Level 16, State 1, Line 1The text data type cannot be selected as DISTINCT because it is not comparable.
Any ideas where im going wrong?