I am going to assume that when you take the value, say $120.58, and encrypt it to a string (MD5, SHA, RSA, Base64, etc) SQL is probably telling you something like this:
"String value [encrypted string] cannot be inserted into column money of type money; Insert fails."
What you will have to do is change your column type from Money to Nvarchar to store that information because, at the point you encrypt the information, it is no longer "money" it is an encrypted string.
Hth.
"The one language all programmers understand is profanity."
|