SQLState: 42000 Error Code: 421 Message: [Microsoft][SQL Server Native Client 10.0][SQL Server]The text data type cannot be selected as DISTINCT because it is not comparable. :select distinct a.qid, a.attribute, a.value from [lime_question_attributes] as a, [lime_questions] as b where a.qid=b.qid and b.sid=12559 and a.language='en' and b.language='en' order by a.qid, a.attribute