Click here to Skip to main content
15,887,854 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all

How can I change the sql server password for user sa in visual studio 2008

And how can set password on my sql database in visual studio

Thanks in advance
Posted
Updated 20-Sep-10 2:54am
v2
Comments
Sandeep Mewara 19-Sep-10 5:59am    
I doubt if you can do this through VS IDE. Lets see what others have to say.
Bardy85 19-Sep-10 9:42am    
Why would even want to do it with VS instead of using SQL Management studio?
You can execute a sql script to change the sa password but I doubt it can be done from within VS.
marjavic 19-Sep-10 14:29pm    
i want it with vs becouse i istall the sql via vs setup project but like that the database will not have any security an any oe deal with it so i want to make it more secure but i want to deal with the sql just via vs i want my vs project to make evry thing when i install the setup of my project on any machine its run with out the need of install any thing else,so is there any way to make my database more secure like create password on it or change the sa password via vs

1 solution

How about sp_Password[^] in TSQL
 
Share this answer
 
Comments
marjavic 20-Sep-10 9:57am    
thanks alot that is what i want ,but how could run it in visual stodio 2008

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900