Skip to content
Advertisement

Error :Unicode data in a Unicode-only collation or ntext data cannot be sent to clients using DB-Library

I’m trying to fetch data from MS SQL server in a shiny app. I’m using the odbc package version 1.2.2. When I run the app locally I am able to fetch the data and everything is fine. But on the server I have the following error :

The following is a short version of my app.

and the server :

Advertisement

Answer

You could try odbc::odbcListDrivers() , I my case I have :

So then setting driver = "MSODBC " should solve the issue !

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement