Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Searching for binary
Message
From
24/01/2014 19:06:30
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
Searching for binary
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01592413
Message ID:
01592413
Views:
59
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?
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
Next
Reply
Map
View

Click here to load this message in the networking platform