AccessUser22
Technical User
If I have an integer being passed in, say 2 for example, and I want to store this in part of a string as 002, is there a way to set this up during my stored procedure using the CAST function? Any ideas are appreciated.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
declare @num int
select @num = 1
select '00'+convert(varchar(100),@num)