Quantcast
Viewing all articles
Browse latest Browse all 12198

SUBSTRING varbinary

SUBSTRING works just fine on varbinary on SQL 2005. This is documented in newer versions.select substring(cast(newid() as varbinary(16)), 4, 1), @@version0xEB, 'Microsoft SQL Server 2005 - 9.00.5000.00 (Intel X86) Dec 10 2010 10:56:29 Copyright (c) 1988-2005 Microsoft Corporation Express Edition on Windows NT 6.1 (Build 7600: Service Pack 1) '

Viewing all articles
Browse latest Browse all 12198

Trending Articles