好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

sqlservr 命令行启动

sqlservr 命令行启动

sqlservr”执行程序是在SQL Server启动时运行的程序。你可以利用“sqlservr”程序来从命令行启动SQL Server。在以这种方式启动时,所有的启动信息会显示在命令提示窗口中,命令提示会话变成执行SQL Server专用的会话了。

  “sqlservr”工具的语法如下:

  sqlservr [-sinstance_name] [-c] [-dmaster_path] [-f] 
  [-eerror_log_path] [-lmaster_log_path] [-m] 
  [-n] [-Ttrace#] [-v] [-x] [-gnumber] [-h]

  最常见的情况是,如果你需要诊断一个配置问题,你可以从命令行启动SQL Server。“-f”参数以最小配置模式启动SQL Server。这允许你从一个阻止SQL Server启动的配置设置进行恢复。如果你需要以单用户模式启动SQL Server,(比如,如果你想重建系统数据库之一),你还可以使用“-m”参数.

  当从命令行启动SQL Server时,SQL Server表现出来的功能与正常以服务形式启动时的功能是相同的。用户可以连接到服务器,你也可以使用SSMS连接到服务器。不同之处在于,运行在命令提示符的SQL Server实例在某些工具中表现的似乎像没有运行。

  SSMS和SQL Server服务管理器会显示SQL Server服务是停止的,因为它们会轮询SQL Server服务,而以命令行方式运行SQL Server时,服务时停止的。

  总结

  SQL Server提供了一整套命令行工具,允许您从命令行执行一些很好用的SQL Server程序。这些工具中附带的大部分功能在图形化工具(比如SSMS)中也是可用的。然而,在某些场景中,从命令行启动这些程序的这种功能是非常有价值的。

MSSQL

 

SQL Server 聚集索引和非聚集索引的区别

 

posted @  2012-02-10 11:28  Amaranthus 阅读(36) |  评论 (0)   编辑

T-Sql 创建全文索引

 

posted @  2012-02-08 10:12  Amaranthus 阅读(65) |  评论 (0)   编辑

SQL Server 普通表Switch到分区表问题

 

posted @  2012-02-03 16:41  Amaranthus 阅读(95) |  评论 (0)   编辑

SQL Server 备份中的术语

 

posted @  2012-02-02 16:49  Amaranthus 阅读(113) |  评论 (0)   编辑

简单介绍join,outer-join,semi-join,anti-join的区别

 

posted @  2012-02-02 10:25  Amaranthus 阅读(95) |  评论 (0)   编辑

虚拟日志文件剖析(转)

 

posted @  2012-01-30 15:32  Amaranthus 阅读(86) |  评论 (0)   编辑

SQL Server Execpt和not in 性能区别

 

posted @  2012-01-16 15:01  Amaranthus 阅读(133) |  评论 (1)   编辑

数据库分卷备份和还原

 

posted @  2011-12-12 14:12  Amaranthus 阅读(133) |  评论 (0)   编辑

SQLOS 简单任务调度

 

posted @  2011-12-10 11:13  Amaranthus 阅读(110) |  评论 (0)   编辑

SQL Server中 缓冲和池的不同点

 

posted @  2011-12-09 13:20  Amaranthus 阅读(130) |  评论 (0)   编辑

Windows AWE API 内存分配和普通内存分配的不同点

 

posted @  2011-12-09 00:02  Amaranthus 阅读(88) |  评论 (0)   编辑

SQLOS's memory manager and SQL Server's Buffer Pool

 

posted @  2011-12-07 15:51  Amaranthus 阅读(93) |  评论 (0)   编辑

SQL Server 2012 ColumnStore索引测试

 

posted @  2011-11-28 14:35  Amaranthus 阅读(173) |  评论 (1)   编辑

SQL2008,SQL2005存储过程解密

 

posted @  2011-11-17 21:10  Amaranthus 阅读(85) |  评论 (0)   编辑

Powershell 开发Snapin简单入门

 

posted @  2011-11-16 23:22  Amaranthus 阅读(17) |  评论 (0)   编辑

数据库镜像证书验证配置和维护

 

posted @  2011-11-16 10:29  Amaranthus 阅读(21) |  评论 (0)   编辑

Serivce Broker 简单实用

 

posted @  2011-11-15 14:04  Amaranthus 阅读(13) |  评论 (0)   编辑

SQL Server DBA 30问 【itpub】

 

posted @  2011-11-11 09:54  Amaranthus 阅读(34) |  评论 (0)   编辑

移除TDE

 

posted @  2011-11-03 13:18  Amaranthus 阅读(18) |  评论 (0)   编辑

减少SQL Server 死锁

 

posted @  2011-10-31 09:37  Amaranthus 阅读(31) |  评论 (0)   编辑

数据库事务发布性能调整

 

posted @  2011-10-28 11:08  Amaranthus 阅读(23) |  评论 (0)   编辑

Server-Side 游标的使用

 

posted @  2011-10-23 19:41  Amaranthus 阅读(11) |  评论 (0)   编辑

SQL Server 2005 性能故障白皮书

 

posted @  2011-10-22 22:12  Amaranthus 阅读(102) |  评论 (0)   编辑

Useful SQL Server DBCC Commands【转】

 

posted @  2011-10-21 10:41  Amaranthus 阅读(23) |  评论 (0)   编辑

查询优化建议

 

posted @  2011-10-12 13:16  Amaranthus 阅读(16) |  评论 (0)   编辑

SQL Server 计数器 阀值列表

 

posted @  2011-09-21 09:22  Amaranthus 阅读(45) |  评论 (0)   编辑

数据库压力测试思路

 

posted @  2011-09-16 23:30  Amaranthus 阅读(52) |  评论 (0)   编辑

SQL Server 性能相关文章 BY GEERT VANHOVE

 

posted @  2011-09-16 22:50  Amaranthus 阅读(12) |  评论 (0)   编辑

SQLIO测试 SAN

 

posted @  2011-09-16 14:45  Amaranthus 阅读(70) |  评论 (0)   编辑

SQL Server 压力测试

 

posted @  2011-09-16 13:10  Amaranthus 阅读(73) |  评论 (0)   编辑

限制优化时间和事件数的最佳方法

 

posted @  2011-09-13 10:25  Amaranthus 阅读(12) |  评论 (0)   编辑

A faster DBCC CHECKDB? By Ian Stirk, 2011/08/23

 

posted @  2011-08-23 15:28  Amaranthus 阅读(20) |  评论 (0)   编辑

查看对象物理存储位置

 

posted @  2011-08-18 12:25  Amaranthus 阅读(12) |  评论 (0)   编辑

Best Practices Analyzer Tool for Microsoft SQL Server 2000

 

posted @  2011-08-17 12:11  Amaranthus 阅读(19) |  评论 (0)   编辑

跟踪标记 相关使用

 

posted @  2011-08-11 14:51  Amaranthus 阅读(21) |  评论 (0)   编辑

证书配置数据库镜像 demo from msdn

 

posted @  2011-08-11 14:42  Amaranthus 阅读(22) |  评论 (0)   编辑

命令行 安装 sql server

 

posted @  2011-08-10 13:42  Amaranthus 阅读(183) |  评论 (0)   编辑

使用powershell 设置 sql server 协议

 

posted @  2011-08-09 14:21  Amaranthus 阅读(42) |  评论 (0)   编辑

数据库日志传送及角色切换【附件中有图片】

 

posted @  2011-07-29 08:14  Amaranthus 阅读(54) |  评论 (0)   编辑

You get an error when you attempts to save SSIS packages to the MSDB package store if the network packet size >=16388 By

 

posted @  2011-07-28 09:10  Amaranthus 阅读(18) |  评论 (0)   编辑

把SQL Server 错误日志导出为EXCEL 并发送到指定的ftp 或者 共享盘

 

posted @  2011-07-22 14:37  Amaranthus 阅读(41) |  评论 (0)   编辑

master 数据库备份原因

 

posted @  2011-07-19 10:26  Amaranthus 阅读(16) |  评论 (0)   编辑

t-sql 调用作业

 

posted @  2011-07-14 15:45  Amaranthus 阅读(13) |  评论 (0)   编辑

清理数据库连接线程

 

posted @  2011-07-08 17:12  Amaranthus 阅读(18) |  评论 (0)   编辑

分区表和分区切换应用 SlidingWindow

 

posted @  2011-07-06 15:19  Amaranthus 阅读(20) |  评论 (0)   编辑

SQL Server 2005 维护计划无法保存

 

posted @  2011-06-27 17:35  Amaranthus 阅读(52) |  评论 (0)   编辑

差异备份的最佳方法

 

posted @  2011-06-27 11:01  Amaranthus 阅读(21) |  评论 (0)   编辑

恢复模式选择

 

posted @  2011-06-21 13:06  Amaranthus 阅读(9) |  评论 (0)   编辑

sysmail_configure_sp 更改数据库邮件的配置设置

 

posted @  2011-06-16 13:34  Amaranthus 阅读(13) |  评论 (0)   编辑

数据库邮件配置

 

posted @  2011-06-16 10:20  Amaranthus 阅读(17) |  评论 (0)   编辑

并发管理操作

 

posted @  2011-06-15 10:35  Amaranthus 阅读(11) |  评论 (0)   编辑

DBA Morning Check List

 

posted @  2011-06-09 11:20  Amaranthus 阅读(27) |  评论 (0)   编辑

全文索引 排名计算问题

 

posted @  2011-06-07 13:10  Amaranthus 阅读(18) |  评论 (0)   编辑

全文索引性能优化

 

posted @  2011-06-04 18:13  Amaranthus 阅读(68) |  评论 (0)   编辑

sql server 查询任务管理器数据

 

posted @  2011-06-03 16:28  Amaranthus 阅读(20) |  评论 (0)   编辑

[全文索引]非索引字表

 

posted @  2011-06-01 19:44  Amaranthus 阅读(25) |  评论 (0)   编辑

如何加载经过许可的第三方断字符

 

posted @  2011-06-01 16:48  Amaranthus 阅读(12) |  评论 (0)   编辑

监视服务器实例上的全文搜索活动

 

posted @  2011-06-01 10:37  Amaranthus 阅读(6) |  评论 (0)   编辑

用户定义函数信息

 

posted @  2011-05-30 13:17  Amaranthus 阅读(7) |  评论 (0)   编辑

获取有关 DML 触发器的信息

 

posted @  2011-05-27 15:30  Amaranthus 阅读(18) |  评论 (0)   编辑

DML 触发器 注意事项

 

posted @  2011-05-27 14:54  Amaranthus 阅读(7) |  评论 (0)   编辑

DML 触发器 output 使用方法

 

posted @  2011-05-27 11:28  Amaranthus 阅读(13) |  评论 (0)   编辑

DML 触发器 Set选项

 

posted @  2011-05-27 09:29  Amaranthus 阅读(13) |  评论 (0)   编辑

DML 触发器计划指南

 

posted @  2011-05-26 16:05  Amaranthus 阅读(3) |  评论 (0)   编辑

SQL Server 查看存储过程

 

posted @  2011-05-26 13:45  Amaranthus 阅读(65) |  评论 (0)   编辑

深入分析各种raid模式

 

posted @  2011-05-26 09:55  Amaranthus 阅读(162) |  评论 (0)   编辑

SQL Server 存储过程 SET 语句选项

 

posted @  2011-05-25 16:15  Amaranthus 阅读(63) |  评论 (0)   编辑

存储过程的设计规则

 

posted @  2011-05-25 16:14  Amaranthus 阅读(20) |  评论 (0)   编辑

如何选择行版本的隔离级别

 

posted @  2011-05-25 10:11  Amaranthus 阅读(35) |  评论 (0)   编辑

分布式查询的使用准则

 

posted @  2011-05-25 10:09  Amaranthus 阅读(29) |  评论 (0)   编辑

SQL Server 锁升级阈值

 

posted @  2011-05-24 20:01  Amaranthus 阅读(41) |  评论 (0)   编辑

企业管理器里删除不需要的注册

 

posted @  2011-05-18 15:01  Amaranthus 阅读(14) |  评论 (0)   编辑

分布式事务使用方法

 

posted @  2011-05-18 13:52  Amaranthus 阅读(52) |  评论 (0)   编辑

HexToChar

 

posted @  2011-05-18 10:45  Amaranthus 阅读(43) |  评论 (0)   编辑

SQL Server 游标更新

 

posted @  2011-05-17 09:41  Amaranthus 阅读(30) |  评论 (0)   编辑

hierarchyid 和 父\子

 

posted @  2011-05-12 14:27  Amaranthus 阅读(15) |  评论 (0)   编辑

关于已分区表和索引的查询处理增强功能 (联机手册)

 

posted @  2011-05-12 10:49  Amaranthus 阅读(24) |  评论 (0)   编辑

SQL Server dbcc inputbuffer

 

posted @  2011-05-10 11:02  Amaranthus 阅读(35) |  评论 (0)   编辑

SQL Server 2005中解决死锁问题

 

posted @  2011-05-09 09:20  Amaranthus 阅读(97) |  评论 (0)   编辑

索引操作的日志问题

 

posted @  2011-05-08 10:06  Amaranthus 阅读(10) |  评论 (0)   编辑

SQL Server 大数据量插入和索引关系

 

posted @  2011-05-08 10:03  Amaranthus 阅读(110) |  评论 (0)   编辑

MSSQL 数据页查询使他 DBCC PAGE 详细说明

 

posted @  2011-05-03 17:04  Amaranthus 阅读(187) |  评论 (0)   编辑

跟踪复制延迟

 

posted @  2011-04-20 23:18  Amaranthus 阅读(36) |  评论 (0)   编辑

SQL Server 查找未使用的索引

 

posted @  2011-04-18 14:02  Amaranthus 阅读(25) |  评论 (0)   编辑

SQL Server 2008新特性 Merge 详细见联机手册

 

posted @  2011-04-14 14:52  Amaranthus 阅读(12) |  评论 (0)   编辑

创建性能基线

 

posted @  2011-04-10 16:27  Amaranthus 阅读(48) |  评论 (0)   编辑

SQL Server 创建性能基线

 

posted @  2011-04-09 14:04  Amaranthus 阅读(120) |  评论 (0)   编辑

SQL Server关注的性能指标

 

posted @  2011-04-08 11:31  Amaranthus 阅读(135) |  评论 (0)   编辑

windows 系统监视器 以及建议阀值

 

posted @  2011-04-07 16:50  Amaranthus 阅读(88) |  评论 (0)   编辑

Missing Indexes in SQL Server 2005

 

posted @  2011-04-02 12:45  Amaranthus 阅读(20) |  评论 (0)   编辑

索引迁移

 

posted @  2011-04-01 13:46  Amaranthus 阅读(18) |  评论 (0)   编辑

sql server 正在运行的sql语句

 

posted @  2011-04-01 12:50  Amaranthus 阅读(113) |  评论 (0)   编辑

DAC 连接数据库需要做些什么

 

posted @  2011-03-31 14:14  Amaranthus 阅读(44) |  评论 (0)   编辑

SQL Server 2005 Logon Triggers 详细介绍

 

posted @  2011-03-31 10:07  Amaranthus 阅读(14) |  评论 (0)   编辑

慎用 logon trigger

 

posted @  2011-03-31 09:32  Amaranthus 阅读(15) |  评论 (0)   编辑

linkedserver 的使用

 

posted @  2011-03-30 14:33  Amaranthus 阅读(37) |  评论 (0)   编辑

作业输出文档维护

 

posted @  2011-03-30 11:10  Amaranthus 阅读(15) |  评论 (0)   编辑

查看job运行时间,以便不影响生产数据库正常运行

 

posted @  2011-03-30 10:40  Amaranthus 阅读(125) |  评论 (0)   编辑

创建错误日志循环

 

posted @  2011-03-30 10:13  Amaranthus 阅读(20) |  评论 (0)   编辑

更新所有数据库统计信息

 

posted @  2011-03-30 09:38  Amaranthus 阅读(60) |  评论 (0)   编辑

SQL Server 找回没有备份的数据

 

posted @  2011-03-29 14:07  Amaranthus 阅读(53) |  评论 (0)   编辑

优化数据库快照

 

posted @  2011-03-28 16:44  Amaranthus 阅读(21) |  评论 (0)   编辑

一些有用但文档中没有介绍的sql server DBCC命令

 

posted @  2011-03-28 16:29  Amaranthus 阅读(40) |  评论 (0)   编辑

如何确定CPU瓶颈

 

posted @  2011-03-28 14:12  Amaranthus 阅读(79) |  评论 (0)   编辑

如何确定I/O瓶颈

 

posted @  2011-03-28 13:51  Amaranthus 阅读(91) |  评论 (0)   编辑

SQL Server 如何确定内存瓶颈

 

posted @  2011-03-28 13:07  Amaranthus 阅读(72) |  评论 (0)   编辑

通过内存和CPU进行SQL Server性能调优

 

posted @  2011-03-27 18:46  Amaranthus 阅读(69) |  评论 (0)   编辑

【2011-3-26】sql server 2000 订阅发布 同步数据报错

 

posted @  2011-03-27 17:12  Amaranthus 阅读(48) |  评论 (0)   编辑

SQL Server 2008 R2数据库镜像部署

 

posted @  2011-03-27 12:57  Amaranthus 阅读(124) |  评论 (0)   编辑

利用动态管理视图提高SQL Server索引效率

 

posted @  2011-03-26 17:33  Amaranthus 阅读(46) |  评论 (0)   编辑

优化数据库的注意事项

 

posted @  2011-03-26 14:30  Amaranthus 阅读(22) |  评论 (0)   编辑

SQL Server置疑数据库解决方法

 

posted @  2011-03-26 13:49  Amaranthus 阅读(40) |  评论 (0)   编辑

SQL Server 2000 (sp3,sp4)同步订阅数据库 出现 主键不唯一错误

 

posted @  2011-03-25 12:55  Amaranthus 阅读(30) |  评论 (0)   编辑

重启sql server 服务

 

posted @  2011-03-24 15:22  Amaranthus 阅读(39) |  评论 (0)   编辑

SQL Server中事务日志自动增长对性能的影响

 

posted @  2011-03-23 20:23  Amaranthus 阅读(58) |  评论 (0)   编辑

创建并管理SQL Server Analysis Services分区

 

posted @  2011-03-23 20:15  Amaranthus 阅读(16) |  评论 (0)   编辑

在SQL Server Profiler中使用跟踪

 

posted @  2011-03-23 18:59  Amaranthus 阅读(32) |  评论 (0)   编辑

SQL语句优化的原则

 

posted @  2011-03-23 18:52  Amaranthus 阅读(36) |  评论 (0)   编辑

收缩数据库

 

posted @  2011-03-23 13:26  Amaranthus 阅读(33) |  评论 (0)   编辑

填充因子设置的一般性准则和指导

 

posted @  2011-03-23 12:45  Amaranthus 阅读(24) |  评论 (0)   编辑

使用性能监视器找出SQLServer硬件瓶颈

 

posted @  2011-03-22 22:16  Amaranthus 阅读(360) |  评论 (0)   编辑

tempdb对SQL Server数据库性能有何影响

 

posted @  2011-03-22 19:30  Amaranthus 阅读(65) |  评论 (0)   编辑

查看 SQL Server 2000 中数据表所占用的磁盘空间

 

posted @  2011-03-22 12:35  Amaranthus 阅读(42) |  评论 (0)   编辑

SQLServer2000同步复制技术实现步骤

 

posted @  2011-03-22 09:26  Amaranthus 阅读(39) |  评论 (0)   编辑

SQL Server 2005 排查I/O瓶颈

 

posted @  2011-03-21 22:07  Amaranthus 阅读(57) |  评论 (0)   编辑

如何检查SQL Server CPU瓶颈

 

posted @  2011-03-21 21:31  Amaranthus 阅读(94) |  评论 (0)   编辑

SQL Server设定过滤条件提高索引效率

 

posted @  2011-03-21 13:12  Amaranthus 阅读(29) |  评论 (0)   编辑

理解RAID的四种级别

 

posted @  2011-03-20 21:40  Amaranthus 阅读(9) |  评论 (0)   编辑

测试发现数据库性能问题后的SQL调优

 

posted @  2011-03-20 21:13  Amaranthus 阅读(24) |  评论 (0)   编辑

修复数据库索引问题:理解填充因数设置

 

posted @  2011-03-20 20:36  Amaranthus 阅读(12) |  评论 (0)   编辑

修复数据库索引问题:控制索引长度

 

posted @  2011-03-20 20:28  Amaranthus 阅读(14) |  评论 (0)   编辑

修复数据库索引问题:删除索引以提升性能

 

posted @  2011-03-20 19:55  Amaranthus 阅读(67) |  评论 (0)   编辑

权衡SQL Server索引对性能的影响

 

posted @  2011-03-20 19:22  Amaranthus 阅读(36) |  评论 (0)   编辑

SQL Server数据库表锁定原理以及如何解除锁定

 

posted @  2011-03-20 18:07  Amaranthus 阅读(37) |  评论 (0)   编辑

防患未然:解析SQL Server的锁定与阻塞

 

posted @  2011-03-20 17:02  Amaranthus 阅读(9) |  评论 (0)   编辑

SQL Server DBA必须要做的五件事

 

posted @  2011-03-20 15:59  Amaranthus 阅读(33) |  评论 (0)   编辑

操作SQL Server的五种错误做法

 

posted @  2011-03-20 15:25  Amaranthus 阅读(18) |  评论 (0)   编辑

sp_spaceused 显示行数、保留的磁盘空间以及当前数据库中的表、索引视图

 

posted @  2011-03-20 13:23  Amaranthus 阅读(45) |  评论 (0)   编辑

SQL Server datetime数据类型设计与优化误区

 

posted @  2011-03-20 13:06  Amaranthus 阅读(7) |  评论 (0)   编辑

合理利用SQL Server查询执行计划

 

posted @  2011-03-19 22:08  Amaranthus 阅读(15) |  评论 (0)   编辑

如何紧急恢复SQL Server主数据库

 

posted @  2011-03-19 21:53  Amaranthus 阅读(32) |  评论 (0)   编辑

BCP

 

posted @  2011-03-19 21:48  Amaranthus 阅读(32) |  评论 (0)   编辑

“tablediff ”命令行工具

 

posted @  2011-03-19 21:41  Amaranthus 阅读(103) |  评论 (0)   编辑

dta”命令行工具

 

posted @  2011-03-19 21:38  Amaranthus 阅读(32) |  评论 (0)   编辑

Sqlcmd 使用

 

posted @  2011-03-19 21:15  Amaranthus 阅读(538) |  评论 (0)   编辑

sqlservr 命令行启动

 

posted @  2011-03-19 20:38  Amaranthus 阅读(82) |  评论 (0)   编辑

sqldiag 工具

 

posted @  2011-03-19 20:34  Amaranthus 阅读(108) |  评论 (0)   编辑

sql server 日志传送

 

posted @  2011-03-19 17:49  Amaranthus 阅读(24) |  评论 (0)   编辑

深入浅出:Microsoft分布式事务处理协调器

 

posted @  2011-03-19 16:19  Amaranthus 阅读(43) |  评论 (0)   编辑

SQL Server调整因子

 

posted @  2011-03-18 21:52  Amaranthus 阅读(31) |  评论 (0)   编辑

DBA需要考虑备份相关问题

 

posted @  2011-03-18 10:20  Amaranthus 阅读(18) |  评论 (0)   编辑

完全备份类型

 

posted @  2011-03-17 22:35  Amaranthus 阅读(10) |  评论 (0)   编辑

SQL Server备份属于I/O密集型操作

 

posted @  2011-03-17 15:50  Amaranthus 阅读(33) |  评论 (0)   编辑

SQL Server 数据库备份

 

posted @  2011-03-17 15:19  Amaranthus 阅读(28) |  评论 (0)   编辑

SQL Server 通过发布订阅 实现数据库同步

 

posted @  2011-03-17 14:49  Amaranthus 阅读(36) |  评论 (0)   编辑

SqlServerExpress2005 自动备份

 

posted @  2011-03-17 13:45  Amaranthus 阅读(19) |  评论 (0)   编辑

MSSQL2005,2000 恢复单个mdf文件【转】

 

posted @  2010-10-03 10:46  Amaranthus 阅读(131) |  评论 (0)   编辑

作者: Leo_wl

    

出处: http://www.cnblogs.com/Leo_wl/

    

本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。

版权信息

查看更多关于sqlservr 命令行启动的详细内容...

  阅读:38次