Home Forums Article Discussions Article Discussions by Author Discuss content posted by Florian Reischl Huge varbinary or image to hex string RE: Huge varbinary or image to hex string
Robert-378556
SSCertifiable
Points: 5917
More actions
March 30, 2009 at 1:33 am
#968155
A small typo in code:
IF ((@len - @pos) < 0)
SET @offset = @len - @pos
ELSE
SET @offset = 1024
Should be
IF ((@len - @pos) < 1024)
or
if @offset > 1024