sqlTables in R from RODBC package not getting correct set of tables -
i have 2 schemas in mysql database. 1 labeled p73, other labeled p75. trying set of tables associated p75 however, when call tables <- sqltables (channel, schema - "p75") still set of tables associated p73.
how solve problem? here code script
library(rodbc) print("enter dsn name") dsn <- readline() print("enter user name") user <- readline() print("enter password") pw<- readline() channel<- odbcconnect(dsn, user, pw) print("please enter project name (ex: p73)") pj <- readline() tables <- sqltables (channel, schema - pj)
Comments
Post a Comment