<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[net_Dota的专栏]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/net_Dota</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; net_Dota]]></copyright><item><title><![CDATA[带有事务的存储过程的写法]]></title><link>https://blog.csdn.net/net_Dota/article/details/8226868</link><guid>https://blog.csdn.net/net_Dota/article/details/8226868</guid><author>net_Dota</author><pubDate>Mon, 26 Nov 2012 17:42:15 +0800</pubDate><description><![CDATA[存储过程 SET NOCOUNT ON：
当 SET NOCOUNT
为 ON 时，不返回计数（表示受 Transact-SQL 语句影响的行数）。\
当 SET NOCOUNT 为 OFF 时，返回计数。
如果存储过程中包含的一些语句并不返回许多实际的数据，则该设置由于大量减少了网络流量，因此可显著提高性能。
 
 
 
带有事务的存储过程的写法
CREATE PROCEDUR]]></description><category></category></item><item><title><![CDATA[Sql server中MERGE命令用法]]></title><link>https://blog.csdn.net/net_Dota/article/details/7798398</link><guid>https://blog.csdn.net/net_Dota/article/details/7798398</guid><author>net_Dota</author><pubDate>Sun, 29 Jul 2012 09:31:21 +0800</pubDate><description><![CDATA[简单点，就是建立了一个源表与目标表之间的联接，根据两表之间的匹配进行操作。
。行既在目标a，又在源b，那么目标用源b的列进行更新。
。行在源b在目标a没有匹配,那么源b中的行被插入到目标a,
。行在目标表a,但是不在源表b,那么删除目标表。删除不需要where，删除行由MERGE命令筛选。
--------------------------------------------------]]></description><category></category></item><item><title><![CDATA[Chart控件之曲线图表]]></title><link>https://blog.csdn.net/net_Dota/article/details/7759548</link><guid>https://blog.csdn.net/net_Dota/article/details/7759548</guid><author>net_Dota</author><pubDate>Wed, 18 Jul 2012 16:36:53 +0800</pubDate><description><![CDATA[1.打开vs2010新建windows窗体项目，在数据工具栏拖入Chart控件，选中控件点击属性Servies找到ChartType并且选择Spline.即为曲线图表；
找到MarkerStyle可以设置曲线中数据点的样式；找到IsValueshownAsLable设置为true图表上数据点可以显示数值等；

 public static DataTable GetCampaignList(]]></description><category></category></item><item><title><![CDATA[Sql Server分布式事务]]></title><link>https://blog.csdn.net/net_Dota/article/details/7656753</link><guid>https://blog.csdn.net/net_Dota/article/details/7656753</guid><author>net_Dota</author><pubDate>Tue, 12 Jun 2012 17:07:08 +0800</pubDate><description><![CDATA[分布式查询:数据存放地点不同，保存方式不同。
1连接服务器
1.1使用企业管理器创建
            [服务器对象]>[连接服务器]>右键新建连接服务器
          常规选项卡+连接服务器+SQL Server
          安全性选项卡+使用此安全上下文进行连接+用户名+密码
1.2使用代码查看，创建，删除连接
             exec sp_add]]></description><category></category></item><item><title><![CDATA[Sql server索引学习笔记]]></title><link>https://blog.csdn.net/net_Dota/article/details/7655829</link><guid>https://blog.csdn.net/net_Dota/article/details/7655829</guid><author>net_Dota</author><pubDate>Tue, 12 Jun 2012 13:58:15 +0800</pubDate><description><![CDATA[索引定义:加速表中数据行的访问速度，确保唯一性，加速连接等操作而创建的一种分散存储结构
1.创建索引语法
create [unique][clustered|nonclustered] index index_name--簇索引行以索引位置存放，按键字值排序
on {table|view}(column,column)--text,ntext或者image数据类型不能指定为索引列
with]]></description><category></category></item><item><title><![CDATA[Sql server 触发器笔记]]></title><link>https://blog.csdn.net/net_Dota/article/details/7654491</link><guid>https://blog.csdn.net/net_Dota/article/details/7654491</guid><author>net_Dota</author><pubDate>Mon, 11 Jun 2012 23:46:40 +0800</pubDate><description><![CDATA[触发器定义:特殊的存储过程,进行复杂的逻辑处理，操作一个表，影响到多个表。一般用于复杂的业务规则。
1，创建触发器语法。
create trigger trigger_name
on{table|view}
with encryption
{after|instead of}{insert|update|delete}
as
触发器执行的条件或者sql操作
go
2.管理触发器]]></description><category></category></item><item><title><![CDATA[sql server存储过程笔记]]></title><link>https://blog.csdn.net/net_Dota/article/details/7654394</link><guid>https://blog.csdn.net/net_Dota/article/details/7654394</guid><author>net_Dota</author><pubDate>Mon, 11 Jun 2012 23:13:19 +0800</pubDate><description><![CDATA[1，存储过程的创建
基本语法;
create procedure procedure_name
with recompile--每次创建都重新编译不常用
@id int output,设置待会传参数的存储过程
as
sql语句
return @error--sql语句执行成功返回0否则返回错误信息
go
存储过程中使用事物处理数据，
create procedure proce]]></description><category></category></item></channel></rss>