select Brand,OutDecorate from CarInfo where ID = '85'
union
select Brand,OutDecorate from CarInfo where ID = '87'OutDecorate是一个NTEXT的类型提示“不能以 DISTINCT 方式选择 text、ntext 或 image 数据类型”
怎么解决这个问题?谢谢
union
select Brand,OutDecorate from CarInfo where ID = '87'OutDecorate是一个NTEXT的类型提示“不能以 DISTINCT 方式选择 text、ntext 或 image 数据类型”
怎么解决这个问题?谢谢
解决方案 »
- showModalDialog窗口添加数据问题
- 求写一个组合验证控件
- 怎么样遍历treeview的某一个层级的所有节点?
- 高手帮修改鼠标经过图片 先清晰后放大 代码.谢谢先 ~~
- 关于本地DLL调用问题,十万火急,望高手指点!!!
- 请问各位大哥,小弟在使用datagrid的时候遇到小问题!请大家指教!
- Asp.Net当执行到Server.CreateObject("ChinaAsp.Upload")报错
- 哪有《ASP.NET服务器控件高级编程》这本书下载?
- 如何在选中前一个Dropdownlist框体的一个内容时,自动带出下一个Dropdownlist框体中与之对应的内容
- page_load执行两次的问题
- 求救:关于发送mail 的问题
- 好久没用.NET了,现在配置都有错了!
union all
select Brand,OutDecorate from CarInfo where ID = '87'或者select Brand,OutDecorate from CarInfo where ID in ('85','87')
union all
select Brand,OutDecorate from CarInfo where ID = '87'如一楼。还好是单一ID。要是不确定条件会有重复
union all
select Brand,OutDecorate from CarInfo where ID = '87'
正解呀