odbc

Libraries for connecting node.js to odbc on Windows? [closed]

半腔热情 提交于 2019-11-30 01:31:56
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I'm looking for a library that allows node.js to connect to ODBC on windows. All the libraries I have found thus far seem to work with UnixODBC but not windows, can someone please suggest a library that will work with Windows? 回答1: Although the readme only mentions UnixODBC, this project: https://github.com

How to refresh linked tables in an Access mdb when ODBC changes

﹥>﹥吖頭↗ 提交于 2019-11-30 00:41:22
I can create an Access mdb and add a linked table to an Sql Server database via ODBC. If I change the Sql Server that the ODBC is connecting to with the ODBC control panel applet the mdb still connects to the original Sql Server until Access is restarted. Is there a way to relink these linked server tables without restarting Access? EDIT: I would like to do this in code You can use the code below to refresh all ODBC tables in your Access project to a given DSN. How to use it Just copy the code in a new or existing VBA module and, where you want to refresh the links, call it with the proper DSN

OLE DB Provider for ODBC Drivers Error "80004005'

南楼画角 提交于 2019-11-29 23:19:05
问题 I have to move some customer sites from a very old IIS Server to a newer one, and some sites have troubles to work in the correct way. Most of them complain about a failure called: Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC Driver Manager]Data source name not found and no default driver specified. I've read on the internet that this could depend on missing rights given to the user; other sites states that a Temp folder is missing (I can't imagine that this is

Classic ASP, MySQL or ODBC UTF8 encoding

风格不统一 提交于 2019-11-29 22:29:37
问题 I have a website hosted with GoDaddy, including MySQL database on the back end. The site is a Slovenian site, so special characters are used. The website is built in classic ASP and I have all the pages created in Notepad++ where utf-8 encoding is used. At the top of every page I also have Session.CodePage=65001, Session.LCID=1060 and Response.Charset="utf-8". MySQL db and all the tables are also utf8 encoded. If I look at the data directly in db through Workbench interface, everything is ok,

Trying to connect to an ODBC server using RODBC in ubuntu

你说的曾经没有我的故事 提交于 2019-11-29 20:18:47
问题 I am getting the error: [RODBC] ERROR: state 01000, code 0, message [unixODBC][Driver Manager]Can't open lib 'SQL Server' : file not found 2: In odbcDriverConnect("driver={SQL Server};server=*******;database=****;trusted_connection=true") : ODBC connection failed Can anyone provide detailed instructions on installing the driver for ODBC in order for it to work with RODBC? Note: I am trying to connect to an MSSQL Server 回答1: Here at my job, we use Centos 5.8. When I need to connect to our MS

Derby Database ODBC Connection

烂漫一生 提交于 2019-11-29 16:53:35
I have a Derby Database in Netbeans with connection string jdbc:derby://localhost:1527/MyDatabase Can this be used with ODBC? If so, how could I transform this or configure my Derby Database to be compliant with ODBC The end goal is to get the Derby Database migrated to MySQL. Using the migrating wizard in MySQL Workbench appears to be the easiest way. However I do need ODBC connectivity. Michał Niklas Do you want to use ODBC because MySQL Workbench uses it to migrate database? I migrated some databases between various engines and my favorite technology is to convert DDL schema ( CREATE TABLE

Php/ODBC encoding problem

时间秒杀一切 提交于 2019-11-29 16:47:31
I use ODBC to connect to SQL Server from PHP. In PHP I read some string (nvarchar column) data from SQL Server and then want to insert it to mysql database. When I try to insert such value to mysql database table I get this mysql error: Incorrect string value: '\xB3\xB9ow...' for column 'name' at row 1 For string with all ASCII characters everything is fine, the problem occurs when non-ASCII characters (from some European languages) exist. So, in more general terms: there is a Unicode string in MS SQL Server database, which is retrieved by PHP trough ODBC. Then it is put in sql insert query

Exception on loading JDBC-ODBC driver

无人久伴 提交于 2019-11-29 16:27:39
I am getting java.lang.ClassNotFoundException on loading sun.jdbc.odbc.JdbcOdbcDriver using Class.forName() . I am using MySQL as Data Source and I have added Data Source Name in ODBC Data Source Administrator (on Windows 8). Here is the code: class Connect { check() { try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); } catch (ClassNotFoundException e) { e.printStackTrace(); } } } Output: java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver Are you using Java 8? The class is no longer present there ( more info ). You could install Java 7 if you need to use it. This happened to me

Updating Oracle Table from Excel VBA Macro using ODBC connection

孤人 提交于 2019-11-29 16:21:16
I have a sheet in Excel 2010 which pulls data in QueryTables from an Oracle database, connected via an ODBC DSN. I need to take data from the spreadsheet and use it to update a table in the same Oracle database. I cannot do an update from a QueryTable, but that is the only connection method I have been able to get to work with the ODBC. I have tried setting up a ADODB connection, but I am getting a 'Run-time error '-2147467259 (80004005'): Automation error Unspecified error Here is the code I used: Sub Upload_Click() Dim cn As ADODB.Connection Set cn = New ADODB.Connection With cn .Provider =

Cannot execute synonym stored procedure with SQL Server ODBC Driver; works with OLEDB

狂风中的少年 提交于 2019-11-29 16:17:32
This question is part in a series of bugs in the Microsoft ODBC driver: ODBC driver fails to raise errors; but instead suppresses them Reading columns out of order returns incorrect results Cannot execute a stored procedure that is a SYNONYM Microsoft has said they will not be fixing these bugs in their ODBC driver. I have (many) stored procedures that are actually synonyms. The stored procedure exists canonically in one database, but are visible in others. The stored procedure executes fine from within SQL Server Management Studio: EXECUTE Report_ThirdParty @ContosoGUID = '{CC0ECA32-BEFA-11E5