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

How do you explicitly define a string?

$
0
0
How would you explicitly define a numeric parameter stored in a text data type? eg. @OrderNumber = 008542. If the parameter is mapped to a stored procedure parameter that takes in an OrderNumber. The OrderNumber is an integer however, it is stored in a varchar(10) field. The integer is padded with leading Zeros when stored. So, how would you explicitly define the parameter to = 008542 without SSRS trimming off the leading Zeros. Single or double quotes don't work, so how is this done?

Viewing all articles
Browse latest Browse all 12198

Trending Articles



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