SET NOCOUNT ON BEGIN TRY BEGIN TRANSACTION --your logic COMMIT TRANSACTION END TRY BEGIN CATCH IF XACT_STATE() <> 0 --当前请求有活动的用户事务 BEGIN ROLLBACK TRAN
分类:
数据库 时间:
2016-03-04 14:35:56
阅读次数:
195
分为linear-gradient(线性渐变)和radial-gradient(径向渐变)。 1.线性渐变在Mozilla 下应用 语法:-moz-linear-gradient( [<point> || <angle>,]? <stop>, <stop> [, <stop>]* ) 参数;共三个参
分类:
Web程序 时间:
2016-02-04 10:39:45
阅读次数:
182
递归练习-进制转换 AYYZOJ p1414 1 var 2 m:integer; 3 procedure tran(n:integer); 4 var k:integer; 5 begin 6 k:=n mod 8; 7 n:=n div 8; 8 if n<>0 then tran(n); 9
分类:
其他好文 时间:
2016-02-02 14:59:25
阅读次数:
149
下面是几种经常使用的核函数表示:线性核(Linear Kernel)多项式核(Polynomial Kernel)径向基核函数(Radial Basis Function)也叫高斯核(Gaussian Kernel),由于能够看成例如以下核函数的领一个种形式:径向基函数是指取值只依赖于特定点距离的实
分类:
其他好文 时间:
2016-01-31 21:18:13
阅读次数:
581
Odoo 仓库调拨过程中,有时候会碰见一下错误内容:The roundings of your Unit of Measures on the move vs. on the product don't allow to do these operations or you are not tran...
分类:
移动开发 时间:
2016-01-22 14:06:49
阅读次数:
141
1)先上代码: 1 public static void main(String[] args)throws IOException{ 2 3 4 double[][] B=new double[1043][21025]; 5 double[][] tran...
分类:
编程语言 时间:
2016-01-19 12:46:55
阅读次数:
255
思路:首先,如果这些点对称,那么它们的对称轴是x = m(m是所有点横坐标的平均值); 把这些点放到一个集合里,然后扫描每个点,计算出它关于x = m的对称点,看这个点是否在集合里面。 如果有一个不在的话,说明不能构成对称图形。 1 #include 2 #include 3 #incl...
分类:
其他好文 时间:
2016-01-09 20:21:18
阅读次数:
418
select request_session_id spid,object_name(resource_associated_entity_id) tableNamefrom sys.dm_tran_locks where resource_type='OBJECT'
分类:
数据库 时间:
2016-01-04 13:02:28
阅读次数:
163
include#define MAX 100typedef struct //构造一个邻接表 用于存储NFA{char name;char line[MAX]; }node; void tran(){ //专门做语句的转换操作 } void automata(char R[],in...
分类:
其他好文 时间:
2015-12-30 17:06:58
阅读次数:
153
Oracle:create or replace procedure get_needQuery_Balance(v_num in number,v_result out number) is--declare veriables--declare cursor--begin begin--tran...
分类:
其他好文 时间:
2015-12-18 13:12:04
阅读次数:
113