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

Re: combining two fields and search for the highest value

$
0
0

T0.[U_compcode] + 1  (I guess this need to changed CAST(T0.U_compcode as INT) + 1, i felt ur field is defined as varchar)


T0.[U_compcode]  Like '@FirstFour%%'



You are confused SQL server, what;s the type of this U_compcode field? Varchar or INT?


Frank


Viewing all articles
Browse latest Browse all 3316

Trending Articles



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