0

How to get MD5 Hash value in SQL Server CE 4.0?

I tried following but I am getting unregognized function for Hashbytes, at SQL Server CE toolbox for Visual Studio

select CONVERT(NVARCHAR(32), HashBytes('MD5', '[email protected]'), 2)

The function is not recognized by SQL Server Compact. [ Name of function = HashBytes,Data type (if known) = ]

1 Answer 1

2

The Hashbytes function is not supported in SQL Server Compact, you can use the .NET ComputeHash function instead

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.