(0)

什么叫排序规则呢?MS是这样描述的:”在 Microsoft SQL Server 2000 中,字符串的物理存储由排序规则控制。排序规则指定表示每个字符的位模式以及存储和比较字符所使用的规则。”
在查询分析器内执行下面语句,可以得到SQL SERVER支持的所有排序规则。
select * from ::fn_helpcollations()
排序规则名称由两部份构成。

2010年3月4日 Jacky 快乐工作
(0)

在Windows Server 2008 R2下安装SQL Server 2008时,需要先安装SQL Server 2008的SP1。
为了避免繁琐的过程,我们自己动手制作集成SP1的SQL 2008安装程序

复制SQL Server 2008安装程序到硬盘中
复制到D:\SQLServer2008下
下载Service Pack 1,保存在硬盘中。
保存到D:\SP1下
将下面的内容保存为批处理bat文档,并运行。
在批处理运行过程中,会编辑defaultsetup.ini文件,请在[SQLSERVER2008]下面添加一行:PCUSOURCE=”.\PCU”。

2010年3月2日 Jacky 快乐工作
(0)

DBCC CHECKTABLE, DBCC DBREINDEX, and DBCC CHECKDB may fail with the following error message if the database contains a table that has an index on a computed column:
DBCC failed because the following SET options have incorrect settings: ‘QUOTED_IDENTIFIER, ARITHABORT’.
 
This behavior is by design.
DBCC CHECKDB, DBREINDEX, and CHECKTABLE require the following SET options if an index [...]

2009年11月24日 Jacky 快乐工作
(0)

After you save SQL performance counters as a counter log file (a .blg file) in Microsoft Windows Server 2003 System Monitor and then open the counter log file in System Monitor, no SQL performance counters appear. An event message that is similar to the following is logged in the system event log for each SQL [...]

2009年11月3日 Jacky 快乐工作
(0)

Problem
MS SQL Server发生下面的错误:
DESCRIPTION: Error: 7105, Severity: 22, State: 6 Page (1:3507395), slot 5 for text, ntext, or image node does not exist.

2009年9月3日 Jacky 快乐工作
(0)

运行SQL Server Profiler,生成,连接数据库,正常,当点下run开始跟踪的时候,报错:”only TrueType fonts are supported. There id not a TrueType font”。
避免该错误,需要修改Profiler的指定字体,方法如下:
点击 Tools菜单->Options…
然后在选项对话框开头的Display Options部分,”Choose Font…”换一种TrueType的字体即可。

2008年7月16日 Jacky 快乐工作
(0)

KILL (Transact-SQL)
 
终止基于会话 ID(SQL Server 2000 或更早版本中的 SPID)或工作单元 (UOW) 的用户进程。如果指定的会话 ID 或 UOW 有许多工作要撤消,则 KILL 语句可能需要一些时间来完成,特别是在涉及回滚长事务时。
 
在 Microsoft SQL Server 2000 和更高版本中,KILL 可用于终止正常连接,这将在内部终止与给定的会话 ID 关联的事务。如果正在使用 Microsoft 分布式事务处理协调器 (MS DTC),该语句还可用于终止所有孤立和有疑问的分布式事务。

2008年7月4日 Jacky 快乐工作
普华网 大榕树 福娃 浮华 富华