摘要: http://www.cnblogs.com/wanyuan8/archive/2011/11/09/2243483.html 阅读全文
posted @ 2017-10-17 14:29 developer_os 阅读(269) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/ice5/articles/1187199.html T-SQL 字符串前加 N 是什么意思 @strSql NVARCHAR(MAX) = N'', 比如 select @status = N'stopped' 那么其中的字符串 stopped 前面为 阅读全文
posted @ 2017-10-17 14:20 developer_os 阅读(274) 评论(0) 推荐(0) 编辑
摘要: 1:SET XACT_ABORT ON 语法 SET XACT_ABORT { ON | OFF } 注释 当 SET XACT_ABORT 为 ON 时,如果 Transact-SQL 语句产生运行时错误,整个事务将终止并回滚。为 OFF 时,只回滚产生错误的 Transact-SQL 语句,而事 阅读全文
posted @ 2017-10-17 14:17 developer_os 阅读(252) 评论(0) 推荐(0) 编辑