查看被锁表: select request_session_id spid,OBJECT_NAME(resource_associated_entity_id) tableName from sys.dm_tran_locks where resource_type='OBJECT' spid 锁表 ...
分类:
数据库 时间:
2016-04-06 11:13:15
阅读次数:
181
Transmission 是 Ubuntu 的默认 BitTorrent 客户端,近期发布了最新的 Transmission 2.90 版本,目前已经可通过 PPA 为 Ubuntu 15.10、Ubuntu 14.04 和 Ubuntu 12.04 进行升级安装。事隔 N 久,此次更新的 Tran ...
分类:
系统相关 时间:
2016-04-03 13:11:57
阅读次数:
230
通过连接数据库,对数据库的增删改来实现一个投票的进行与结果的显示: 方法一: 主页面 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-tran ...
分类:
Web程序 时间:
2016-03-28 23:29:14
阅读次数:
413
;with tran_locks as(select resource_type,db_name(resource_database_id) as db_name,resource_description ,object_name(resource_associated_entity_id,reso ...
分类:
数据库 时间:
2016-03-24 20:14:48
阅读次数:
503
BEGIN TRY BEGIN TRAN IF(@HandleType=1) BEGIN UPDATE table SET ... END ELSE BEGIN UPDATE table SET ... UPDATE table SET ... END COMMIT TRAN END TRY BEG
分类:
数据库 时间:
2016-03-12 13:21:11
阅读次数:
262
查看被锁表: select request_session_id spid,OBJECT_NAME(resource_associated_entity_id) tableName from sys.dm_tran_locks where resource_type='OBJECT' spid 锁表
分类:
数据库 时间:
2016-03-11 19:02:18
阅读次数:
266
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
递归练习-进制转换 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
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