dbTalk Databases Forums  

pwdcompare equivalent in Sql2005

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss pwdcompare equivalent in Sql2005 in the comp.databases.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
ArunDhaJ
 
Posts: n/a

Default pwdcompare equivalent in Sql2005 - 07-03-2007 , 10:47 AM






Hi Friends,
What is the equivalent function of pwdcompare() in Sql2005?


Thanks,
ArunDhaJ


Reply With Quote
  #2  
Old   
David Portas
 
Posts: n/a

Default Re: pwdcompare equivalent in Sql2005 - 07-04-2007 , 04:59 AM






On 3 Jul, 16:47, ArunDhaJ <arund... (AT) gmail (DOT) com> wrote:
Quote:
Hi Friends,
What is the equivalent function of pwdcompare() in Sql2005?

Thanks,
ArunDhaJ
PWDCOMPARE is an undocumented function in 2000 and 2005.

To hash and compare passwords you can instead use the HashBytes()
function in SQL Server 2005. I don't think HashBytes will be
compatible with the hashes used by PWDCOMPARE.

--
David Portas, SQL Server MVP

Whenever possible please post enough code to reproduce your problem.
Including CREATE TABLE and INSERT statements usually helps.
State what version of SQL Server you are using and specify the content
of any error messages.

SQL Server Books Online:
http://msdn2.microsoft.com/library/m...S,SQL.90).aspx
--



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.