Skip to content
Prev 179511 / 398503 Next

rmysql query help

On 5/6/2009 3:47 PM, Aaron Sims wrote:
You need to construct a query like your last one, by pasting the 
startdatetime value in.  MySQL can't see R variables.  So it should be 
something like:

dbSendQuery(connect, statement=paste("SELECT ICE FROM table1
   WHERE BEGTIME >='", mydatetime, "'", sep=""))

Duncan Murdoch