Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Searching for binary
Message
De
24/01/2014 19:06:30
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Searching for binary
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01592413
Message ID:
01592413
Vues:
61
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform