November 8, 2007 at 12:11 pm
Hi, I need to implement a stored procedure to create a new login and to change password for logins (Sql Server Ent Edition 2005 sp2).
I'm using this sintax only to test how to pas values to create login and alter login sentence
DECLARE @ULOGIN sysname
SET @ULOGIN = 'TESTER'
ALTER LOGIN @ULOGIN WITH PASSWORD = '222222222' OLD_PASSWORD = '11111111';
But alter login sentence is not getting @ulogin value and i need to pass password and old password.
How can I do this.
I need some advice, thanks for any help.
November 9, 2007 at 3:07 am
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy