1

I see a weird error while extracting data from SQL to R. Only of the columns in SQL dataset has 40,000 character (nvarchar(MAX)) .

But when I extract this data to R using odbcDriverConnect(paste("driver={ODBC Driver 17 for SQL Server};_____")), I only 255 characters.

Howeverwhen I extract this data to R using odbcDriverConnect(paste("driver={SQL Server};_____")), I get all 40,000 characters.

Not sure why this is happening. Can anyone help?

r2evans
  • 108,754
  • 5
  • 72
  • 122
manu p
  • 575
  • 1
  • 7

0 Answers0