Hi People,
I wrote a Visual Basic program to change a users password for MS SQL 2000 Server. The server is currently using SQL security. The program changes the password fine, but it changed the password globally. I want the program to only change the password local to a specific database. This can be done through the Enterprise Manager interface, so I know that it is possible.
I did set the default password of the ODBC connection to the one I want to change. I also tried a DSN less connection in ADO with the Database property set. None of these worked.
Does anybody know how this can be done through ADO, Visual Basic?
Clayton T. Paige
claytonpaige@yahoo.ca
Programmer Extraordinaire
========================================================
"Who is General Failure? and Why is he reading my disk drive?"
I wrote a Visual Basic program to change a users password for MS SQL 2000 Server. The server is currently using SQL security. The program changes the password fine, but it changed the password globally. I want the program to only change the password local to a specific database. This can be done through the Enterprise Manager interface, so I know that it is possible.
I did set the default password of the ODBC connection to the one I want to change. I also tried a DSN less connection in ADO with the Database property set. None of these worked.
Does anybody know how this can be done through ADO, Visual Basic?
Clayton T. Paige
claytonpaige@yahoo.ca
Programmer Extraordinaire
========================================================
"Who is General Failure? and Why is he reading my disk drive?"