Hi together
This is my first post here. I am having an issue with limited character length when using dbGetQuery. I connect to my database and table using the command below:
library(DBI)
db_connection <- dbConnect(odbc::odbc(), "MyDatabase", timeout = 10)
table <- dbGetQuery(conn = db_connection, statement = "select * from MyTable")
One field (called forecast) of the table contains strings which typically are more than 1000 characters long. When I check this field for the first entry in the table:
nchar(table$forecast[1])
126
I get returned 126 characters. Is there a way to increase this limit so that I have access to the full string? Thank you for your suggestions.
Kind regards
Benjamin