遇到个麻烦问题了,大家帮帮偶 select * from table200702 where date>'20070228'unionselect * from table200703 where date<'20070302' 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 石头兄,您的方法好像有点问题: 不能以 DISTINCT 方式选择 text、ntext 或 image 数据类型。 select * from table200702 where date>'20070228'union allselect * from table200703 where date<'20070302' haww1218() ( ) 信誉:100 Blog 2007-3-12 17:31:55 得分: 0 石头兄,您的方法好像有点问题: 不能以 DISTINCT 方式选择 text、ntext 或 image 数据类型。 ----------可以這樣select * from table200702 where date>'20070228'union allselect * from table200703 where date<'20070302'用union all就不會報錯 将指定列的包含“-”之后的所有字符都删除 <!-- -- -- 为什么字串字段用varchar者多,而鲜见有用nvarchar的? -- -- --> 关于sql注入问题 大批量数据的复杂检索问题(全文检索) 续:"如何将数量进行如下拆分 ",分都用完啦 请教一个统计的问题 在线等.各位请进. 在SQL语句中或者结果中显示10的9次方 sql 子查询!困惑好久!大家帮助!!!!!!!急啊!! 高手求救,数据出错 多表数据库查询命令 sql有关日期疑问
union all
select * from table200703 where date<'20070302'
石头兄,您的方法好像有点问题: 不能以 DISTINCT 方式选择 text、ntext 或 image 数据类型。
----------可以這樣select * from table200702 where date>'20070228'
union all
select * from table200703 where date<'20070302'用union all就不會報錯