rss
twitter
facebook

Home

CONVERT and CAST SQL

DECLARE @value decimal (5, 2)
SET @value = 193.57
SELECT CAST(CAST(@value AS varbinary(20)) AS decimal(10,5)) +6.43

OR another

SELECT CONVERT(decimal(10,5), CONVERT(varbinary(20), @value ))

0 comentários:

 
Powered by Blogger