Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
arkiboys
Master Smack Fu Yak Hacker
1433 Posts |
Posted - 2008-06-19 : 05:43:27
|
| Is there a sql syntax to set sql server and sql server agent to autostart? I can not find anything regarding this.Thanks |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2008-06-19 : 05:51:43
|
| You can change the mode of starting services in SQL Surface Area Configuration in Programs -> SQL Server 2005->Configuration tools -> Surface area configuration |
 |
|
|
suresha_b
Yak Posting Veteran
82 Posts |
Posted - 2008-06-19 : 05:53:43
|
| You have to do it in Windows Services. |
 |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2008-06-19 : 05:54:38
|
Use xp_regwrite.[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSSQLSERVER]Start = ....[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SQLSERVERAGENT]Start = .... E 12°55'05.25"N 56°04'39.16" |
 |
|
|
|
|
|