- 博客(3)
- 资源 (1)
- 收藏
- 关注
原创 今天偶尔看到一题,做了一下
今天偶尔看到一题,网址如下:http://topic.csdn.net/t/20061023/11/5101874.html感觉两位的回答是正确的,但总感觉不是很爽,花了点时间,整理了下with cte as(select 1 mo,'收' me,1 nu union allselect 1,'收',2 union allselect 1,'付',2 uni
2012-05-17 23:09:42 366
原创 sql 2000 实现partition by rownumber功能
declare @a table(id nvarchar(10),num int)insert into @aselect '000019',1 union allselect '000019',0 union allselect '000019',0 union allselect '000019',0 union allselect '000020',0 union a
2012-05-17 16:05:52 875
原创 sql 补全空缺部分
with cte as(select '000019' CardId, cast('2012-5-15 0:00' as datetime) DataData, cast('2012-5-15 7:40' as datetime) DataTime,88 MachAddr union allselect '000019' ,'2012-5-15 0:00' ,'2012-5-15 13
2012-05-17 14:28:31 1305
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人