odbc

In R connected to an Access Database through ODBC, how can I update a text field?

时光毁灭记忆、已成空白 提交于 2021-01-05 07:18:44
问题 I have R linked to an Access database using the ODBC and DBI packages. I scoured the internet and couldn't find a way to write an update query, so I'm using the dbSendStatement function to update entries individually. Combined with a for loop, this effectively works like an update query with one snag - when I try to update any field in the database that is text I get an error that says "[Microsoft][ODBC Microsoft Access Driver] One of your parameters is invalid." DBI::dbSendStatement(conn =

Adding dbFailOnError to CurrentDb.Execute fails to update table

为君一笑 提交于 2021-01-04 09:16:12
问题 Long time lurker, first time poster. I have a mySQL table connected to Access 2010 via the 5.1 ODBC driver. I am trying to update the mySQL table and curiously adding dbFailOnError at the end of CurrentDb.Execute strSQL prevents the table from updating but does not throw any error. My VBA editor is set to break on all errors. All error handling in the routine has been commented for testing. If I use CurrentDb.Execute strSQL or DoCmd.RunSQL strSQL , the table updates. Also, the mySQL table has

Adding dbFailOnError to CurrentDb.Execute fails to update table

谁说我不能喝 提交于 2021-01-04 09:15:00
问题 Long time lurker, first time poster. I have a mySQL table connected to Access 2010 via the 5.1 ODBC driver. I am trying to update the mySQL table and curiously adding dbFailOnError at the end of CurrentDb.Execute strSQL prevents the table from updating but does not throw any error. My VBA editor is set to break on all errors. All error handling in the routine has been commented for testing. If I use CurrentDb.Execute strSQL or DoCmd.RunSQL strSQL , the table updates. Also, the mySQL table has

How to access ODBC Driver on Azure App service

谁都会走 提交于 2020-12-23 11:42:13
问题 I'm trying to run a Django (3.0) app on Azure App Service in Linux, connected to an Azure SQL Database. In my staging App Service instance, this works perfectly, however, when I set up my production instance on a different Azure account, my Django app can no longer access the database. When I hardcoded the ODBC Driver 17 into database settings, I got this error in my Oryx build logs: pyodbc.Error: ('01000', "[01000] [unixODBC][Driver Manager]Can't open lib 'ODBC Driver 17 for SQL Server' :

How to access ODBC Driver on Azure App service

混江龙づ霸主 提交于 2020-12-23 11:41:33
问题 I'm trying to run a Django (3.0) app on Azure App Service in Linux, connected to an Azure SQL Database. In my staging App Service instance, this works perfectly, however, when I set up my production instance on a different Azure account, my Django app can no longer access the database. When I hardcoded the ODBC Driver 17 into database settings, I got this error in my Oryx build logs: pyodbc.Error: ('01000', "[01000] [unixODBC][Driver Manager]Can't open lib 'ODBC Driver 17 for SQL Server' :

How to access ODBC Driver on Azure App service

懵懂的女人 提交于 2020-12-23 11:41:05
问题 I'm trying to run a Django (3.0) app on Azure App Service in Linux, connected to an Azure SQL Database. In my staging App Service instance, this works perfectly, however, when I set up my production instance on a different Azure account, my Django app can no longer access the database. When I hardcoded the ODBC Driver 17 into database settings, I got this error in my Oryx build logs: pyodbc.Error: ('01000', "[01000] [unixODBC][Driver Manager]Can't open lib 'ODBC Driver 17 for SQL Server' :

How to access ODBC Driver on Azure App service

别说谁变了你拦得住时间么 提交于 2020-12-23 11:39:58
问题 I'm trying to run a Django (3.0) app on Azure App Service in Linux, connected to an Azure SQL Database. In my staging App Service instance, this works perfectly, however, when I set up my production instance on a different Azure account, my Django app can no longer access the database. When I hardcoded the ODBC Driver 17 into database settings, I got this error in my Oryx build logs: pyodbc.Error: ('01000', "[01000] [unixODBC][Driver Manager]Can't open lib 'ODBC Driver 17 for SQL Server' :

How to use MS Access ODBC driver without installing it?

我是研究僧i 提交于 2020-12-14 12:37:39
问题 Up until today our company workstations would typically have the MS Office ODBC drivers installed in: C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE14 However, for some reason the configuration recently changed so that for example Microsoft Access Driver (*.mdb, *.accdb) now points to: C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE16 Unfortunately the actual installation of the driver is still in the OFFICE14 directory. Is there any way to still use this driver to

How to use MS Access ODBC driver without installing it?

£可爱£侵袭症+ 提交于 2020-12-14 12:30:40
问题 Up until today our company workstations would typically have the MS Office ODBC drivers installed in: C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE14 However, for some reason the configuration recently changed so that for example Microsoft Access Driver (*.mdb, *.accdb) now points to: C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE16 Unfortunately the actual installation of the driver is still in the OFFICE14 directory. Is there any way to still use this driver to

How to use MS Access ODBC driver without installing it?

老子叫甜甜 提交于 2020-12-14 12:29:11
问题 Up until today our company workstations would typically have the MS Office ODBC drivers installed in: C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE14 However, for some reason the configuration recently changed so that for example Microsoft Access Driver (*.mdb, *.accdb) now points to: C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE16 Unfortunately the actual installation of the driver is still in the OFFICE14 directory. Is there any way to still use this driver to