try to connect to SQL Server. If you are able to connect, the password is
correct.
Some apps don't try to connect. In those apps, they usually ask the user to
enter the password twice, and then they store the password encrypted until
it is needed.
--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik
Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
"ad" <ad@wfes.tcc.edu.tw> wrote in message
news:OB**************@TK2MSFTNGP14.phx.gbl...
I want a user input the password of sa of Sql Server 2000.
How can I test if the password is correct?