Hi,
I am using the query as below,but i am getting error as:
The text data type cannot be selected as DISTINCT because it is not comparable.
select distinct Notetype,NOTE from srcBudget unionall select distinct NOTETYPE,cast([NOTETEXT] as [varchar](max) )as NOTE FROM SrcBudnote
sudha