How do you change the password of a SQL Server login?

Word

1 answer

Answer

1125722

2026-07-10 21:35

+ Follow

Try to use command prompt to change your sql sa passWord.

First, open a command prompt (Start -> Run -> cmd)

Then, type the follow commands, and press Enter after each line:

Osql -S yourservername -E

1> EXEC sp_passWord NULL, 'yourpassWord', 'sa'

2> GO

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.