Select IsNull(a,'')+IsNull(b,'')+IsNull(c,'')
from table
where a in not null or b is not null or c is not null
from table
where a in not null or b is not null or c is not null
解决方案 »
- 请问能从table变量里取字段么?谢谢。(附简码)
- 打开网页窗口时就固定窗口大小?
- 请教一个存储过程(初学)
- 一个数据库有两个数据文件,怎么把他们合并呀?
- 怎样在sql server2000中使用数组?立刻给分。
- SQL语句
- sql server2008导数据入oracle10g
- 请教SQL语句为什么在程序中比在查询分析器中慢;
- 怎么将SQL SERVER 中某个数据库中的某个表导出为文本文件?
- 一个表里有照片,打开速度特别慢!不知为什么?
- 如何将最后一个统计出来?
- 如何创建订阅?我已经创建了一个Publication,并将本机设为Distributor,但是为何在创建订阅的时候无法选择一个Publication呢?
from table
where a is not null
or b is not null
or c is not null
from table
where a is not null
or b is not null
or c is not null
from table
where a in not null or b is not null or c is not null
select isnull(a,'')+isnull(b,'')+isnull(c,'')如果abc为数字型,要用类型转换