Skip to content
Prev 299882 / 398503 Next

Passing Multiple Variable Into SQLDF Statement as parameters of function

You have to explicitly add the quotes:

 Example=paste0("select * from LibDB where Date_Entered
='",as.character(StartDate), "'") # notice the single quotes within
the double quotes

        
On Wed, Jul 11, 2012 at 11:16 AM, scstrein <scstrein at ncsu.edu> wrote: