RODBC loses time values of datetime when result set is large

后端 未结 8 1936

So this is VERY strange. RODBC seems to drop the time portion of DateTime SQL columns if the result set is large enough. (The queries are running against an SQL S

8条回答
  •  青春惊慌失措
    2020-12-14 21:33

    sqlQuery(ch, getSQL(sqlquerypath)) 
    

    stripped the times off my datetime column.

    sqlQuery(ch, getSQL(sqlquerypath), as.is = TRUE) 
    

    fixed the issue.

提交回复
热议问题