I am having a problem getting some data from a database using ROracle. Everything works fine (I get data from different tables without any problems), but one of the tables causes an error:
library(ROracle)
con <- dbConnect(dbDriver("Oracle"),"xxx/x",username="user",password="pwd")
spalten<- dbListFields(con, name="xyz", schema = "x")
rs <- dbSendQuery(con, "Select * From x.xyz")
data <- fetch(rs)
dbDisconnect(con)
Fehler in .valueClassTest (ans, "data.frame", "fetch"): invalid value from the generic function 'fetch, class "try-error", expected "Data.frame"
I have completed this question: qaru.site/questions/1629525 / ... , and I have chosen the columns
rs <- dbSendQuery(con, "Select a From x.xyz")
but none of them worked and gave me the same error.
Any ideas what I'm doing wrong?
PS I checked the SQL query in Oracle SQL Developer and I get the data table there
Update:
- / Oracle, , , , .