r - ROracle: dbGetQuery works but dbListTables and other functions do not -
i installed roracle (following directions in package) , connected our oracle database.
i can run queries, using dbgetquery
, , results fine, e.g.:
> dbgetquery(con, "select count(*) table_name") count(*) 1 6111
however, of other dbi/roracle helper functions give no results:
> dblisttables(con) character(0) > dbreadtable(con, "table_name") error in .oci.getquery(con, qry) : ora-00942: table or view not exist
any ideas may cause?
in both cases, work me if specify schema
argument, i.e.
dblisttables(con, schema = "my_schema") dbreadtable(con,"table_name",schema = "my_schema")
additionally, appears reading ?dblisttables
has all
, full
arguments control whether in schemas, , whether return full schema name or table name.
Comments
Post a Comment