Go Back   Web Server Hosting Forum by BODHost > Support > Windows Dedicated Server
 

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 12-04-06, 10:33
BOD Member
 
Join Date: Jul 2006
Posts: 107
Default Changing MSSQL sa password

Following are the steps to change MSSQL 'sa' login password:

1) Go to the command prompt of the server and type in command prompt

Quote:

osql -L

This command will list all the MSSQL servers near you.

2) Copy full name of required MSSQL server and type

Quote:

osql -S copied_servername -E

By this command you'll connect to MSSQL server using administrator account.

3) To change sa password you should execute the following query:

Quote:

sp_password NULL,'new_password','sa'
go
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT -6. The time now is 02:33.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright © 1999-2012, BODHost Ltd. All rights reserved.