Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 301227

varbinary is the SQL Server datatype used to hold variable-length binary data

3 votes

Explanation needed for my result

SELECT CAST('08' AS varbinary), result is 0x3038, this is ASCII code or ANSI code. … SELECT CAST(N'08' AS varbinary), CAST(CAST('08' AS nvarchar) AS varbinary) result is 0x30003800 0x30003800, it's UNICODE, that means, when you CAST a char to nchar, SQL SERVER will change it's binary …
Rodger Kong's user avatar