Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Parameter not giving value that it's attributed with

$
0
0

hi there, i am currently having a (what some of you might consider a very simple) Problem which is really confusing me.

i am doing the following:

    DECLARE @Jan as nvarchar
    SET @Jan = '200 €'

and when i say:

select @Jan

the value i get is just : 2

how is this possible, and why am i not getting the exact value i am Setting for the Parameter?
thanks a lot in advance


Viewing all articles
Browse latest Browse all 23857

Trending Articles



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