Distinct error with image field
问题 I have table which contains a Image column. Now I want to select distinct value of image column, but it gives error. Column name is also Image. My query is: select Image from tbl1 Error is: The image data type cannot be selected as DISTINCT because it is not comparable. So how to select distinct value from tb1 table 回答1: Image data types in a SELECT statement that contains the DISTINCT clause. Depending on the version of SQL Server being used, there are a few ways of overcoming this