Re: How can I change the login name and password?
- From: "Jens Süßmeyer" <Jens@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 28 Apr 2005 13:59:06 +0200
My first post was the common expression based on BOL Syntax.
Where do you fire the commadn to the SQL Server, from OSQL ?
Jens Suessmeyer.
"Marty" <Marty@xxxxxxxxxxxxxxxxxxxxxxxxx> schrieb im Newsbeitrag
news:11D32945-2151-4EFE-9608-CCEA419BDE07@xxxxxxxxxxxxxxxx
> sp_password still comes up as an invalid command. In your second example
> you
> omitted @old, etc. Please give me the exact syntax and command.
> Thanks again
>
> "Jens Süßmeyer" wrote:
>
>> master..sp_password 'myoldone','mynewone','theusername'
>>
>> HTH, Jens Suessmeyer.
>>
>> ---
>> http://www.sqlserver2005.de
>> ---
>> "Marty" <Marty@xxxxxxxxxxxxxxxxxxxxxxxxx> schrieb im Newsbeitrag
>> news:0B925CDD-32D6-49A1-B132-75C56007289B@xxxxxxxxxxxxxxxx
>> >I typed exactly what you wrote, except for the brackets, at a command
>> >prompt.
>> > I got the error message that sp_password is not a recognized command.
>> > Is
>> > there a particular folder I have to be in for this to work? If I want
>> > to
>> > leave the password blank do I just not enter nothing or do I use the
>> > word
>> > null.
>> > Thanks for your help
>> >
>> > "Jens Süßmeyer" wrote:
>> >
>> >> Syntax
>> >> sp_password [ [ @old = ] 'old_password' , ]
>> >> { [ @new =] 'new_password' }
>> >> [ , [ @loginame = ] 'login' ]
>> >>
>> >>
>> >>
>> >> HTH, Jens Suessmeyer.
>> >>
>> >> "Marty" <Marty@xxxxxxxxxxxxxxxxxxxxxxxxx> schrieb im Newsbeitrag
>> >> news:9BA17C7E-07B5-43DE-BADF-F15AA921DF52@xxxxxxxxxxxxxxxx
>> >> > How can I change the login name and password? Quite frankly, I would
>> >> > like
>> >> > the
>> >> > login name to be same as my WIndows login and no passwrod.
>> >>
>> >>
>> >>
>>
>>
>>
.
- Follow-Ups:
- References:
- How can I change the login name and password?
- From: Marty
- Re: How can I change the login name and password?
- From: Jens Süßmeyer
- Re: How can I change the login name and password?
- From: Marty
- Re: How can I change the login name and password?
- From: Jens Süßmeyer
- Re: How can I change the login name and password?
- From: Marty
- How can I change the login name and password?
- Prev by Date: Re: How can I change the login name and password?
- Next by Date: Re: How can I change the login name and password?
- Previous by thread: Re: How can I change the login name and password?
- Next by thread: Re: How can I change the login name and password?
- Index(es):
Relevant Pages
|
Loading