Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8451

Re: Error in SQL Query The text, ntext, and image data types cannot be compared or sorted, except when using IS NULL or LIKE operator. for the query

$
0
0

Hi

    Run this query.

select  T1. Dscription,T1.docEntry,T1.Quantity,T1.Price ,CAST(T2.LineText as nvarchar (200))

from OQUT T0  INNER JOIN QUT1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN

QUT10 T2 ON T1.DocEntry = T2.DocEntry where T1.DocEntry='590'

group by  T1. Dscription,T1.docEntry,T1.Quantity,T1.Price

,cast(T2.LineText as nvarchar (200))

 

Regards

Vinoth


Viewing all articles
Browse latest Browse all 8451

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>