Skip to content
Prev 388429 / 398502 Next

R Function question, (repost to fix the messy work format)

Modify the summ() function to start like this

summ <- function(Tabname){
   query <- sprintf(" SELECT * FROM %s",Tabname)
  res <- dbGetQuery(con, query)

etc

HTH,
Eric

On Fri, Jul 2, 2021 at 9:39 PM Kai Yang via R-help <r-help at r-project.org>
wrote: