How to hash of the password string for query?

Velichko Yuriy <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <CAN=WvWst_PF6uy71yMQDvkdiVV-3PiFe8unCUwhyi8GrSGHeKQ@mail.gmail.com>
Hello! Sorry if this question is offtop in this list, but I hope that you
can help me.

I use freetds to communicate with SQL Server.
To create a server login I should to use query

CREATE LOGIN ... PASSWORD hashed_password HASHED

Advise me, please, how should I get the hashed_password properly? May be
there is a particular function in freetds for this purpose?

Thanks!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.