SQLSERVER服务 批处理文件
话说俺是个懒人。。。。
装完SQLSERVER2005 因为开机很慢 所以呢就把开机服务搞成手动的了
这样开机快了很多
可是问题也来了
每次要用SqlServer的时候要一个一个服务去开起来 。。。。
麻烦啊。。。。。
不比2000有个 开关的程序
所以上网找了下教程
自己写个批处理 自动启动服务
哇哈哈
突然觉得 只要有网络 语言不是啥大的障碍
写起来都差不多呀
哇哈哈
@echo off
echo 开启SQLSERVER服务按1
echo 关闭SQLSERVER服务按2
set /p ans=
if %ans%==1 goto sta
if %ans%==2 goto sto
:sta
echo 准备开启服务
net start SQLWriter
net start ReportServer
net start MsDtsServer
net start msftesql
net start SQLBrowser
net start MSSQLSERVEROLAPService
net start SQLSERVERAGENT
net start MSSQL$SQLEXPRESS
net start MSSQLSERVER
goto exit
:sto
echo 准备关闭服务
net stop SQLWriter
net stop ReportServer
net stop MsDtsServer
net stop msftesql
net stop SQLBrowser
net stop MSSQLSERVEROLAPService
net stop SQLSERVERAGENT
net stop MSSQL$SQLEXPRESS
net stop MSSQLSERVER
goto exit
:exit
echo over
相关文档:
In the latest installment of the SQL Server interview questions, we will outline questions suitable for a DBA interview to assess the candidates skills related to SQL Server system databases. In this tip, the questions are there to read, but the answers are intentionally hidden to really test your s ......
今日sqlserver2000的服务启动不了,看了一下错误日志“SQL Server evaluation period has expired.”
从网上找了找,重新安装sqlserver2000即可,重装时可能会遇到“以前的某个程序安装已在安装计算机上创建挂起的文件操作。运行安装程序之前必须重新启动计算机”错误,可查看本人前一篇文章解决 ......
ojdbc14.jar与classes12.jar有什么区别??
最近用classes12.jar,hibernate3.1老是出问题?
我的oracle9.2.0.10!
在网上找,发现有人用ojdbc14.jar开发,没有用过呢?看oracle的readme.txt也没有看什么呢?
那位大哥知道说一下!十分感谢!
------------------------------------------------------------------------- ......
在sqlserver2005下使用下面语句
WITH t AS (
SELECT ROW_NUMBER() OVER(ORDER BY id DESC) as row_number, id,ss
&nb ......
//创建DBhelper数据库链接文件
private static string sqlcon = "server=.;database=myschool;uid=sa;pwd=sa";
public static SqlConnection connection = new SqlConnection(sqlcon ......