Collections:
"ALTER LOGIN" - Changing the Password of a Login Name in SQL Server
How To Change the Password of a Login Name in SQL Server?
✍: FYIcenter.com
If a developer lost the password of his or her login name, you can reset the password with the "ALTER LOGIN" statement as shown in this tutorial example:
-- Login with sa ALTER LOGIN FYI_DBA WITH PASSWORD = 'fyicenter'; GO Command(s) completed successfully.
FYI_DBA's password is changed now. Try it with the SQLCMD tool:
C:\>SQLCMD -S LOCALHOST\SQLEXPRESS -U FYI_DBA -P fyicenter 1> QUIT
You can also use the "ALTER LOGIN" to change your own password.
⇒ "ALTER LOGIN" - Changing a Login Name in SQL Server
⇐ sys.server_principals - Listing All Login Names in SQL Server
2016-10-20, 2460🔥, 0💬
Popular Posts:
How to download and install Microsoft .NET Framework Version 2.0 in SQL Server? .NET Framework Versi...
How to run Queries with SQL Server Management Studio Express in SQL Server? 1. Launch and connect SQ...
How To Disable a Login Name in SQL Server? If you want temporarily disable a login name, you can use...
Is PL/SQL Language Case Sensitive in Oracle? PL/SQL language is not case sensitive: Reserved words a...
Where to find answers to frequently asked questions on Downloading and Installing SQL Server 2005 Ex...