- 博客(3)
- 收藏
- 关注
原创 批量更新
update attendance set type=t2.typefrom attendance t1inner join( select name,id,time=_time,type=case when time08:00 and idd=1 then 上班 when time>08:00 and time12:00 and idd=1 then 迟到
2010-05-12 10:26:00 193
原创 case ..when..的使用
查询表内容SELECT 表名=case when a.colorder=1 then d.name else end,表说明=case when a.colorder=1 then isnull(f.value,) else end,字段序号=a.colo
2010-05-12 10:11:00 128
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人