{"id":2263,"date":"2012-08-16T14:03:39","date_gmt":"2012-08-16T14:03:39","guid":{"rendered":"http:\/\/enjoyasp.net\/?p=2263"},"modified":"2012-08-16T14:03:39","modified_gmt":"2012-08-16T14:03:39","slug":"%e5%8d%81%e5%85%ad%e8%bf%9b%e5%88%b6%e8%bd%ac%e6%8d%a2","status":"publish","type":"post","link":"https:\/\/enjoyasp.net\/index.php\/2012\/08\/16\/%e5%8d%81%e5%85%ad%e8%bf%9b%e5%88%b6%e8%bd%ac%e6%8d%a2\/","title":{"rendered":"\u5341\u516d\u8fdb\u5236\u8f6c\u6362"},"content":{"rendered":"<p style=\"text-align:justify;\">\n\t<span style=\"white-space:nowrap;\">Conversion from INT to HEX<\/span><\/p>\n<p>\n\t<code style=\"font-size:12px;\"><span style=\"color:blue;\">SELECT <\/span><span style=\"color:magenta;\">CONVERT<\/span><span style=\"color:gray;\">(<\/span><span style=\"color:blue;\">VARBINARY<\/span><span style=\"color:gray;\">(<\/span><span style=\"color:black;\">8<\/span><span style=\"color:gray;\">), <\/span><span style=\"color:black;\">256<\/span><span style=\"color:gray;\">)<\/span><\/code><\/p>\n<p style=\"text-align:justify;\">\n\tConverting from HEX to INT<\/p>\n<p>\n\t<code style=\"font-size:12px;\"><span style=\"color:blue;\">SELECT <\/span><span style=\"color:magenta;\">CONVERT<\/span><span style=\"color:gray;\">(<\/span><span style=\"color:blue;\">INT<\/span><span style=\"color:gray;\">, <\/span><span style=\"color:black;\">0x00000100<\/span><span style=\"color:gray;\">)<\/span><\/code><br \/>\n\t&nbsp;<\/p>\n<p>\n\t<code style=\"font-size:12px;\"><span style=\"color:blue;\">SELECT <\/span><span style=\"color:black;\">0x00000100<\/span><span style=\"color:gray;\">*<\/span><span style=\"color:black;\">1 HextoInt<\/span><\/code><\/p>\n<p>\t<code style=\"font-size:12px;\"><span style=\"color:gray;\">from:<\/span><\/code>http:\/\/blog.sqlauthority.com\/2012\/07\/26\/sql-server-answer-how-to-convert-hex-to-decimal-or-int\/<br \/>\n\t&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Conversion from INT to HEX SELECT CONVERT(VARBINARY(8), [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36],"tags":[],"class_list":["post-2263","post","type-post","status-publish","format-standard","hentry","category-sql-server"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/posts\/2263","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/comments?post=2263"}],"version-history":[{"count":0,"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/posts\/2263\/revisions"}],"wp:attachment":[{"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/media?parent=2263"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/categories?post=2263"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/tags?post=2263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}