请教一个SQL的写法 select nametrans + '/' + isnull(drivername,'') from table 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select case len(isnull(drivername,'')) when 0 then nametrans else nametrans + '/' + isnull(drivername,'') end as AAfrom table select nametrans + (case when ddrivername is not null then '/' + drivername end) from table select nametrans + (case when drivername is not null then '/' + drivername end) from table SQL查询问题 数据库字段与Excle匹配 更新 请问要实现如下目的,这样的SQL语句怎么写? 复制中快照文件家访问错误! 用xp_cmdshell 'dir \\xx\' 提示 当前没有可用的登录服务器来服务登录请求。 求助,好像比较难,谢谢! 别名的小问题~~ 表中有相同记录如何删除? 怎样查找包含字符 ' 的记录,通常此字符不能使用?在插入时可以通过变 ' 为 ''解决,查寻时呢? SQL语句 要会员管理系统,进销存,和网站整合,有好多方法吗? 获得时间差
when 0 then nametrans
else nametrans + '/' + isnull(drivername,'')
end as AA
from table