博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2009年10月28日

摘要: 检测临时表:if exists (select 1 from tempdb..sysobjects where id=object_id('tempdb..#temp_事实表') and xtype='U') Drop Table #temp_事实表检测基础表:if exists (select 1 from sysobjects where id = object_id('t_事实表') an... 阅读全文

posted @ 2009-10-28 10:47 郭子 阅读(188) 评论(0) 推荐(0) 编辑