摘要: https://msdn.microsoft.com/zh-cn/library/az24scfc(v=vs.110).aspx 贪婪匹配:由外向里查找匹配,如:.* 惰性匹配:由前向后查找匹配,格式是在贪婪表达式的后面加上一个?,如:.*? 后向引用(捕获模式): (?<name>pattern) 阅读全文
posted @ 2012-02-04 16:30 Yu 阅读(255) 评论(0) 推荐(0) 编辑
摘要: begin transactioninsert into ...save transaction first /*事务保留点*/insert into ...if @@error <> 0 rollback transaction first insert into ...if @@error <> 0 rollback transaction firstinsert into ...if @@error <> 0 rollback transaction firstcommit transaction 阅读全文
posted @ 2012-02-04 15:35 Yu 阅读(113) 评论(0) 推荐(0) 编辑