Quantcast
Channel: Recent Edits
Viewing all articles
Browse latest Browse all 12198

different result

$
0
0
when i use nVarChar like ...DECLARE @str nVarChar(50) = 'abc ' --- <-- one space after the letter cSELECT Len(@str) , DATALENGH (@str)the results are 3 and 8and if i use VarChar instend of nVarCharthe results are 3 and 4 the number 8 is odd, why is this happening?

Viewing all articles
Browse latest Browse all 12198

Trending Articles



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