请教一sql查询问题!请各达人帮忙 可能不是很符合你的要求,在07-09的时候select * from table where convert(char(10),coldate,121) like '%1978%' 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 SELECT *FROM test where year(dates)>='1978' SELECT *FROM test where year(dates)>='#1978#' rq用月/日/年表示select * from utable where rq>cdate('" & rq & "') select * from utable where date >= '#" & t_date.text & "#' dim mySTR as stringselect * from utable where date >= '#" & t_date.text & "#' 上面的写错了,sorrydim mySTR as stringselect * from utable where date >= '#" & mySTR & "#' select * from utable where convert(char(10),udate,121) like '%1978%' SQL语句中的日期格式为: #月月/日日/年年#如设要查某一日期 在程序中使用变量语句格式应为:M-月 D-日 Y-年"Select ... from ... where [Date]=#" & M "/" & D & "/" & Y & "#" SQL语句中的日期格式为: #月月/日日/年年#如设要查某一日期 在程序中使用变量语句格式应为:M-月 D-日 Y-年"Select ... from ... where [Date]=#" & M "/" & D & "/" & Y & "#" 在VB中如何实现类似VF中宏的功能——字符串写法 Len(Str("1234"))的结果为什么是5啊---VB6 datareport报表宽度问题 水晶报表9打包发布的问题? 怎么设密码? 中秋散分!!http://www.csdn.net/develop/Read_Article.asp?Id=14952 怎么用Midb函数使得截取的字符不会出现乱码啊? vb6如何调试Com+应用程序? 如何改变ListBox中某一项的字符串颜色? 上头要我明天交差,同志们可要帮忙帮忙 其他格式转exe格式如何实现? 窗口里的绘图如何保存到文件里?AutoRedraw 是 false
FROM test
where year(dates)>='1978'
FROM test
where year(dates)>='#1978#'
select * from utable where rq>cdate('" & rq & "')
select * from utable where date >= '#" & t_date.text & "#'
dim mySTR as string
select * from utable where date >= '#" & mySTR & "#'
M-月 D-日 Y-年"Select ... from ... where [Date]=#" & M "/" & D & "/" & Y & "#"
M-月 D-日 Y-年"Select ... from ... where [Date]=#" & M "/" & D & "/" & Y & "#"