What DataType should be a column to stored Encypted Data?
Can we have varchar instead varbinary => does there will have any odd consequences if we use varchar
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It must be varbinary. Using varchar instead will result in all sort of odd behavior in the client applications. Using nvarchar may hit invalid unicode combination. And most importantly there is absolutely not a single reason why one would use varchar instead of varbinary for this.