The following query returns different results in SQL2008 and SQL2012: declare @hexstring varchar(max) = NULL select cast('' as xml).value('xs:hexBinary( substring(sql:variable("@hexstring"), 0) )', 'varbinary(max)')in SQL2008 returns NULLin SQL2012 returns 0xIn the changelog documentation there's no word about this
Product Language
Version
Category
Operating System
Operating System Language
Steps to Reproduce
Actual Results
Expected Results
Platform
Virtualization