Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Encoding question
Message
De
11/11/2013 10:20:15
 
 
À
11/11/2013 09:53:10
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01587700
Message ID:
01587750
Vues:
27
>I see you have this working but it occurred to me that it might be possible to do this in TSQL using CONVERT/COLLATE. But my SQL knowledge is so limited I'm not sure exactly how you'd do it :-{

Seems to work, Viv
declare @Tmp table
(	Passwd	char(10)
);

insert into @Tmp (Passwd) values ('†12345');

select convert(binary(10), Passwd) from @Tmp;
http://msdn.microsoft.com/en-us/library/ms187928.aspx
Gregory
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform