首先声明,以下是个人见解,如有错误望指出,先谢谢! 我们知道数据库(SQL) 的事务,现在我讲讲我的大概了解: 数据库的事务使用基本语法:begin try begin tran [tranName] --语句 commit tran [tranName]end trybegin catch...
分类:
数据库 时间:
2015-07-25 01:37:51
阅读次数:
209
select request_session_id spid,OBJECT_NAME(resource_associated_entity_id) tableName from sys.dm_tran_locks where resource_type='OBJECT'declare @spid.....
分类:
数据库 时间:
2015-07-20 16:13:13
阅读次数:
155
CSS3 渐变(gradients)可以在两个或多个指定的颜色之间显示平稳的过渡。CSS3 定义了两种类型的渐变(gradients):线性渐变(Linear Gradients)- 向下/向上/向左/向右/对角方向径向渐变(Radial Gradients)- 由它们的中心定义一、线性渐变:为了创...
分类:
Web程序 时间:
2015-07-20 01:18:48
阅读次数:
173
DescriptionI mean yourborrowers of books- those mutilators of collections, spoilers of the symmetry of shelves, and creators of odd volumes.- (Charles...
分类:
其他好文 时间:
2015-07-19 23:24:33
阅读次数:
139
SymmetryTime Limit:3000MSMemory Limit:0KB64bit IO Format:%lld & %lluDescriptionThe figure shown on the left isleft-right symmetricas it is p...
分类:
其他好文 时间:
2015-07-18 17:00:04
阅读次数:
107
---恢复内容开始---DescriptionThe figure shown on the left is left-right symmetric as it is possible to fold the sheet of paper along a vertical line, drawn ...
分类:
其他好文 时间:
2015-07-18 15:28:00
阅读次数:
143
在看了别人的代码后发现有很多可以避免出现精度问题的方法(如坐标都乘2等) 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 const int maxx=1010; 7 const double eps=1e-5...
分类:
其他好文 时间:
2015-07-17 07:05:57
阅读次数:
145
这几天看了一本HTML5的书,里面对于页面的背景使用了大量的渐变效果,因此在这里写一些关于渐变Gradient的东西。CSS3中的Gradient有两种,分别是线性渐变(linear-gradient)和径向渐变(radial-gradient),下面分别是线性与径向渐变的效果(用Flash画的,习...
分类:
Web程序 时间:
2015-07-16 21:39:09
阅读次数:
706
转载:http://www.cnblogs.com/rob0121/articles/2320932.htmlSETXACT_ABORTON SETXACT_ABORTON分为两种: 1、总体作为一个事务,整体提交或整体回滚,格式为:SET XACT_ABORT ONBEGIN TRAN ...
分类:
数据库 时间:
2015-07-16 00:34:23
阅读次数:
179
declare @p_fhdm varchar(10),
@p_fhxx varchar(100)
begin try
begin tran
--正常处理,如果没错就commit ,如果有错就会跳到 catch
commit tran
end try
begin catch
IF @@TRANCOUNT > 0
beg...
分类:
其他好文 时间:
2015-07-15 17:06:55
阅读次数:
96