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

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

Try This

 

select  T1. Dscription,T1.docEntry,T1.Quantity,T1.Price ,

(select  isnull(T2.LineText,'') from QUT10 t2 where t2.DocEntry=t0.docentry and and t1.linenum=t2.aftlinenum) as Ltext

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

where T1.DocEntry='590'


Viewing all articles
Browse latest Browse all 8556

Trending Articles



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