有台数据库服务器(开发服务器),开发人员邮件告诉我,SSMS连接不了这台服务器,远程登录后,发现SQL SERVER的服务停止了,启动服务时报错,服务启动不了.检查错误日志发现下面一些信息 2015-10-14 13:47:09.98 spid17s The Service Broker endpoint is in disabled or stopped state. 2015-10-14 13:47:10.03 spid17s The Database Mirroring e…
1. 启动 SQL Server Management studio 2. 选择登录模式 Server name: "." 代表本地的数据库 Authertication: Windows Authertication为管理员登录权限,一般选择SQL Server Authertication 登录 如果安装的时候没有选择"混合登录",那么可以先Windows Authertication登录进去后修改配置: a. 服务器右键"属性" b…
--设置开关 启动程序自动运行存储过程必须启动该命令 sp_configure "show advanced options",1; go reconfigure; go --设置启动存储过程 sp_configure "scan for startup procs",1; go reconfigure; go --定义存储过程 create procedure DemoProc as select * from dbo.spt_values; go --将定义的存…
原定周末把公司的TFS升级到2018,由于TFS 2018需要SQL Server至少是2016以上版本,所以还需要将原来的SQL Server 2012 R2一并升级.今天早上负责的同事告诉我升级失败了.SQL Server 2016的数据库服务无法正常启动.他期间还尝试修复了一次SQL Server 2016,仍然提示无法正常启动数据库服务.错误提示如下: Action required: Use the following information to resolve the error,…