April 20, 2015 at 12:36 pm
Comments posted to this topic are about the item Function to display integer as binary string
April 29, 2015 at 6:28 am
We used to use tricks to store true/false values for variables in each position. But this was when storage was a premium. We haven't done that in years. Still, nice script.
April 29, 2015 at 4:03 pm
try master.sys.fn_varbintohexstr( cast(int-value as varbinary(max)) )
April 30, 2015 at 4:44 am
rob.lobbe-964963 (4/29/2015)
try master.sys.fn_varbintohexstr( cast(int-value as varbinary(max)) )
To do what?
April 30, 2015 at 3:29 pm
To use a system function that already does what you have coded.
April 30, 2015 at 6:32 pm
rob.lobbe-964963 (4/30/2015)
To use a system function that already does what you have coded.
But it doesn't do the same thing. The function I wrote displays the value of an int in its binary form, i.e. as ones and zeros.
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy