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

Click here to load this message in the networking platform