2008年3月31日
摘要: dotnet2.0开始,增加了System.Transactions的命名空间,数据库的事务可类似以下的方式使用: using (TransactionScope s = new TransactionScope()) { //To Do s.Complete(); ... 阅读全文
posted @ 2008-03-31 14:08 老程序员 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 表的依赖性 EXEC sp_depends '***' 表的唯一列 EXEC sp_special_columns '***' 表的统计信息 EXEC sp_statistics '****' 表的使用空间信息 EXEC sp_spaceused '***' 表的外键 EXEC sp_fkeys '***' 表的约束信息 EXEC sp_helpconstraint '***' 表的授权信息 EX... 阅读全文
posted @ 2008-03-31 13:54 老程序员 阅读(193) 评论(0) 推荐(0) 编辑