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

How to convert from varchar to bigint?

$
0
0

Hi all,

  I have a stored procedure which is inserting value like this

cmd2.Paremeters.Addwithvalue("@water", dtr["waterd"])

dtr["waterd"] is a varchar and this needs to be converted to bigint, how do I do this?

Thanks for any tips or help

Regards


Gaby


Viewing all articles
Browse latest Browse all 23857

Trending Articles



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