安装SQL Server后必做12步
12 Essential Steps After Installing SQL Server
By : Sadequl Hussain
Jul 13, 2009
from: http://www.sql-server-performance.com/articles/dba/post_installation_steps_p1.aspx
Rolling out SQL Servers is a key task for
DBAs. While for some DBAs this can be a frequent exercise, others will have to
face it one time or other throughout their career in an organisation.
Successfully planning an installation
requires a fair bit of knowledge about SQL Server and a basic understanding of
the operating system. Once the installation is complete, the system usually
needs some changes to default configuration before production databases can be
rolled out. In this article I list some common steps that I take after
installing a SQL Server. This can be used as a “checklist” to ensure consistency
for all the SQL Servers that you roll out.
Step1: Install the Service Pack, Hotfixes and Cumulative
Updates
This is the first step you should take after
a successful installation. You should always install the latest service pack
available unless there is a clear business cause not to do so. At the time of
this writing, SQL Server 2005 is in service pack level 3 and SQL Server 2008 has
service pack 1. Service packs are freely downloadable from the Microsoft web
site. If there are hotfixes or cumulative updates available after the last
service pack has been released, you should apply them as well. This ensures that
your server is ready with the latest version of the database software. Once all
the patches are installed, make a backup of your system databases and reboot the
server.
Step
2: Configure SQL Services
Although your planning phase should
determine what SQL services you are going to install, there may be occasions
when a service is rolled out but not needed immediately. Perhaps your business
requires you to install a SQL Server and although reporting is not going to be
part of it, management in
相关文档:
在Excel中,我们时常会碰到这样的字段(最常见的就是电话号码),即有纯数字的(如没有带区号的电话号码),又有数字和其它字符混合 (如“区号-电
话号码”)的数据,在导入SQLServer过程中,会发现要么纯数字的数据导过去之后变成了NULL,要么就是数字和其它字符混合的数据导过去之后变成
了NULL。
&n ......
在使用ODP.NET进行Oracle编程时,有时候SQL语句非常复杂,需要采用动态构造查询语句的情况,有两种方法可以构造动态的SQL语句,并执行返回结果集。
1、在数据访问层构造SQL语句
例如下面的语句,将构造完整的SQL语句赋值给CommandText,再传递到数据库进行执行,返回结果集。
loadCommand.CommandType = Com ......
本系列文章导航
[Oracle]高效的PL/SQL程序设计(一)--伪列ROWNUM使用技巧
[Oracle]高效的PL/SQL程序设计(二)--标量子查询
[Oracle]高效的PL/SQL程序设计(三)--Package的优点
[Oracle]高效的PL/SQL程序设计(四)--批量处理
[Oracle]高效的PL/SQL程序设计(五)--调用存储过程返回结果集
[Oracle]高效的PL/SQL程序设计(六)- ......
本系列文章导航
[Oracle]高效的PL/SQL程序设计(一)--伪列ROWNUM使用技巧
[Oracle]高效的PL/SQL程序设计(二)--标量子查询
[Oracle]高效的PL/SQL程序设计(三)--Package的优点
[Oracle]高效的PL/SQL程序设计(四)--批量处理
[Oracle]高效的PL/SQL程序设计(五)--调用存储过程返回结果集
[Oracle]高效的PL/SQL程序设计(六)- ......
本系列文章导航
[Oracle]高效的PL/SQL程序设计(一)--伪列ROWNUM使用技巧
[Oracle]高效的PL/SQL程序设计(二)--标量子查询
[Oracle]高效的PL/SQL程序设计(三)--Package的优点
[Oracle]高效的PL/SQL程序设计(四)--批量处理
[Oracle]高效的PL/SQL程序设计(五)--调用存储过程返回结果集
[Oracle]高效的PL/SQL程序设计(六)- ......