摘要: if exists (select * from dbo.sysobjects where id = object_id(N'#temp') and OBJECTPROPERTY(id, N'IsUserTable') = 1)drop table #tempcreate table #temp( Pager2011_ID INT IDENTITY(1, 1) PRIMARY KEY , --索引,分页时根据这个字段来取记录 tableid varchar(20))Insert Into #temp(tableid)Select nationNoFrom tbl 阅读全文
posted @ 2011-06-19 16:11 window5549-accp 阅读(718) 评论(0) 推荐(0) 编辑