Change Password using Stored Procedure
I want to Change passsword of logged in user using stored Procedure .
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Manish Kumar ChoudharyRank #339 · 7.4K reputationPosted Dec 28, 2014, 10:42 PM EST
The following example shows how to use ALTER LOGIN to change the password for the login Victoria from manishold to manishnew. This is the preferred method. User Victoria can execute this command without additional permissions. Other users require ALTER ANY LOGIN permission:
ALTER LOGIN Victoria WITH
PASSWORD = ' manishnew'
OLD_PASSWORD = ' manishold;
GO
Dhruvi kukadiya18 reputationPosted Dec 28, 2014, 11:34 PM EST