jackalnoe 发表于 2016-5-25 17:00 
楼主用的是RODBC来连接MYSQL;我没有使用这个工具,我用的是Rmysql
library(RMySQL)
请教下,
R Shiny中,RMySQL连接MySQL,用dbgetquery()函数进行时间段查询:
sql<-"select * from spc_control where
FAB = 'input$fab' and
date_format(MEASURE_TIME,'%Y-%m-%d') = 'as.character.Date(input$date)' "
查询时没有结果
input$date是dateRangeInput的控件
为什么dataRangeInput的控件获取的日期不能北SQL语句使用?