摘要: 2005的行列转换: create table ta(编号 int,人员 varchar(5), 年份 int,月份 int ,[1号] varchar(5), [2号] varchar(5),[3号] varchar(5),[4号] varchar(5))insert ta select 1, ... 阅读全文
posted @ 2007-02-13 17:01 正牌风哥 阅读(102) 评论(0) 推荐(0) 编辑
摘要: if object_id('Tempdb..#Roy') is not null drop table #Roy create table #Roy (a int,b varchar(10),c int,d int) insert #Roy select 1, '小李', 1, 2... 阅读全文
posted @ 2007-02-13 16:21 正牌风哥 阅读(114) 评论(0) 推荐(0) 编辑