Example Code : Please explain...

  • CONVERT(VARBINARY(64), pwdEncrypt(@strUserPassword)),

    I am came accross this in an example database code, it was sitting in an INSERT Statement.

    I cant find any explanation for this "pwdEncrypt"

    The example database has no functions of this name, BOL has nothing. If there is stuff for SQL server un documented, where can I find a reference for this secret stuff ??

  • PWDEncrypt() is an undocumented and unsupported built-in SqlServer function.

    There is no guarantee that it will exist in future versions of SqlServer.

  • Just to complete, it is used to encrypt data. I think sql uses it mostly to encrypt the passwords, but we can use it as well.

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply