Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Searching for binary
Message
From
25/01/2014 11:32:21
 
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01592413
Message ID:
01592418
Views:
54
>You didn't specify the size in DECLARE statement for @MD5

Good catch, this works.

This is the adjusted code:
DECLARE @MD5 Binary(16)

SET @MD5=0xB3C54EFB6C02017046905007293650B1

SELECT * FROM MyTable WHERE MyTable.MD5=@MD5
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform