易截截图软件、单文件、免安装、纯绿色、仅160KB

SQL Server 认证(Certification)

微软的数据库认证从包括3个方面的:
MCTS: Microsoft Certified Technology Specialist
MCITP: Microsoft Certified IT Professional
MCM: Microfot Certified Master.
 微软建议参加最新版本的数据库认证考试,当前版本是指Microsoft SQL Server 2008。
SQL Server2008 MCTS包括3个认证:
1> SQL Server 2008 Implementation and Maintenace;
2> SQL Server 2008 Database Development;
3> SQL Server Business Intelligence Development and Maintenance.
SQL Server 2008 MCITP 也包含3个认证:
1> Database Administrator IT Professional;
2> Database Developer IT Professional;
3> Business Intelligence Developer IT Professional.
MCITP比MCTS要考察的范围更广,要求对SQL Server 2008技术了解的更精细。所以MCITP要比MCTS稍微难过些。
MCM到2009年4月份全球只有2个人通过了。这个认证无论是对技术的要求,还是花费的金钱都是相对较高的,这里就不再详细介绍了,有兴趣的朋友可以参照
www.microsoft.com/learning/mcp/master/sql/default.mspx


相关文档:

C#操作各种执行sql的方法含存储过程操作

using System;
using System.Collections.Generic;
using System.Text;
using System.Data.SqlClient;
using System.Xml;
using System.Data;
namespace MyDbTest
{
class Program
{
static void Main(string[] args)
{
SqlConnection thisConnection = new SqlConnection(
@ ......

SQL注释优化

1. /*+ALL_ROWS*/
   表明对语句块选择基于开销的优化方法,并获得最佳吞吐量,使资源消耗最小化.
   例如:
   SELECT /*+ALL+_ROWS*/ EMP_NO,EMP_NAM,DAT_IN from BSEMPMS WHERE EMP_NO='CCBZZP';
2. /*+FIRST_ROWS*/
   表明对语句块选择基于开销的优化方法,并获得最佳响应时 ......

c#启动Sql Server服务

程序启动Sql Server其实很简单
代码:
System.ServiceProcess.ServiceController   myController   =
new   System.ServiceProcess.ServiceController("MSSQL$ACCP4444"); //服务名称 找了半天才找到,笨死我完了。在服务上右键属性,能看到
if (myController.CanStop)
{ }
else ......

Sql Server导出文本文件

先开启服务器配置选项:
EXEC sp_configure 'show advanced options', 1
RECONFIGURE
EXEC sp_configure 'xp_cmdshell', 1
RECONFIGURE
/** 导出文本文件 
EXEC master..xp_cmdshell 'bcp dbname..tablename out c:\DT.txt -c -S servername -U sa -P password' 
或 
EXEC master..xp_cmdshell ' ......

sql查询语句中 in和 exists的区别与性能比较

对In和exists的性能进行比较,首先要知道它们两者的区别。
in: 确定给定的值是否与子查询中的值或列表中的值相匹配。
exists: 指定一个子查询,检测行是否存在。
可分析它们的查询语句来得出真实的差别:
in
比如Select * from t1 where x in ( select y from t2 )
执行的过程相当于:
select *
  from t1, ( ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号