January 3, 2012

Convert Hexadecimal to Integer in SQL Server

SELECT CONVERT(INT, 0x7DB) AS 'Result'

image

We can use CONVERT function to convert hexadecimal number to integer.

That’s It.
Enjoy Learning.
 

No comments:

Post a Comment