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

I am getting an error incorrect syntex near the keyword where. If I take out the where the query works..any suggestions.

$
0
0

SELECT T0.CardCode, T0.CardName, T0.NumAtCard, T0.DocNum, T0.DocDate,

 

T0.DocTotal, T0.PaidToDate, (T0.DocTotal- T0.PaidToDate) as 'Balance'

 

FROM dbo.OINV T0 WHERE T0.DocStatus ='O'

 

WHERE T0.CardName LIKE '%[%0\]%'


Viewing all articles
Browse latest Browse all 8509


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