Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Searching for binary
Message
 
 
To
24/01/2014 19:06:30
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01592413
Message ID:
01592414
Views:
62
This message has been marked as the solution to the initial question of the thread.
You didn't specify the size in DECLARE statement for @MD5

>I have a binary field in the table. It's value is 0xB3C54EFB6C02017046905007293650B1.
>
>However, when I try this:
>
>
>DECLARE @MD5 Binary
>
>SET @MD5=0xB3C54EFB6C02017046905007293650B1
>
>SELECT * FROM MyTable WHERE MyTable.MD5=@MD5
>
>
>...it doesn't find the record.
>
>This is a syntax issue. Anyone would know what I am missing?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform