using this code to retrieve data from SQL server
...data <- dbGetQuery(connection, paste0("SELECT * FROM ", "SCHEMA", ".", "TABLE_NAME"))..
.
and I got this error
...Error in .jcall(conn@jc, "Ljava/sql/Statement;", "createStatement") : RcallMethod: attempt to call a method of a NULL object...