摘要: --=================================================--通用动态交叉表的实现--------------------------------------------------------------------------------- usp_Crosstab-------------------------------------------... 阅读全文
posted @ 2008-12-10 13:58 自由精灵 阅读(653) 评论(0) 推荐(2)
摘要: 创建临时表 方法一: create table #临时表名(字段1 约束条件,字段2 约束条件,.....)create table ##临时表名(字段1 约束条件,字段2 约束条件,.....)方法二: select * into #临时表名 from 你的表; select * into ##临时表名 from 你的表;注:以上的#代表局部临时表,##代表全局临时表查询临时表 select *... 阅读全文
posted @ 2008-12-10 08:03 自由精灵 阅读(41834) 评论(2) 推荐(1)