摘要:
http://www.csframework.com/cs-framework-4.0.htm 阅读全文
摘要:
select a.name as '表名',b.rows as '表数据行数'from sysobjects a inner join sysindexes bon a.id = b.idwhere a.type = 'u'and b.indid in (0,1)--and a.name not l 阅读全文
摘要:
--判断临时表是否存在,存在则删除重建if exists(select 1 from tempdb..sysobjects where id=object_id('tempdb..#tabName') and xtype='u')drop table #tabNamegocreate table # 阅读全文