sql库的写法,
select 字段1,pic=case when(not pic is null) then ' <img src=image.aspx?id='+cast(id as varchar(10))+' border=0 width=20 height=20.5>' else ' <img src=image/nopic.jpg border=0 width=20 height=20.5>' end from 表 where id='"+yhid+"'改成oracle的怎么写??谢谢
select 字段1,pic=case when(not pic is null) then ' <img src=image.aspx?id='+cast(id as varchar(10))+' border=0 width=20 height=20.5>' else ' <img src=image/nopic.jpg border=0 width=20 height=20.5>' end from 表 where id='"+yhid+"'改成oracle的怎么写??谢谢
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货