odbc

iODBC does not work under Mac OSX 10.6.4

末鹿安然 提交于 2019-12-08 01:24:27
问题 I've installed iODBC over the package (http://www.iodbc.org/dataspace/iodbc/wiki/iODBC/) and set up all config files as described here: http://blog.opensteam.net/past/2009/1/28/rails_ms_sql_on_mac/ I set up the same thing on a Linux machine and it worked fine. On my Mac OSX 10.6.4, I get this error if i test the connection: xxx@xxx:/opt/local/include$ iodbctest "dsn=res;uid=user;pwd=pass" iODBC Demonstration program This program shows an interactive SQL processor Driver Manager: 03.52.0709

How to increase performance for bulk INSERTs to ODBC linked tables in Access for multiple columns?

本秂侑毒 提交于 2019-12-08 00:44:44
问题 This question is based on on this one: How to increase performance for bulk INSERTs to ODBC linked tables in Access? I have further queston for the linked topic above, since I do not have enough score to comment on the topic, so I created my question here. With the excellent answer from Gord Thompson, who provided the following codes in the link above. Sub PtqTest() Dim cdb As DAO.Database, rst As DAO.Recordset Dim t0 As Single, i As Long, valueList As String, separator As String t0 = Timer

How to query for a MS Access column whose name has a question mark, via ODBC?

假如想象 提交于 2019-12-08 00:25:24
问题 I have a MS Access database (Access 2002, for the record). It has a column whose name contains a question mark, say, for example table "Users" with columns "uid" and "isAdmin?". I need to connect to this database via ODBC, and query for this column, along the following lines: select [uid], [isAdmin?] from Users order by [isAdmin?]; How do I escape the question mark in the column name, so that the MS Access ODBC driver doesn't think that it's a query parameter? This query doesn't use any

Birt Eclipse, connecting to a SQLite database through ODBC? Do I need a specific JDBC driver for Birt to use?

二次信任 提交于 2019-12-07 23:58:20
问题 I have been working on this for a while now and, unfortunately have little previous exposure to Birt as well as JDBC / ODBC. I've been searching and searching but can't conclusively figure out what I need for Birt to be able to connect to an SQLite database through ODBC. I have setup the SQLit db on my windows machine to use ODBC. From here, however, I can't figure out, in the Birt Report Designer-> New data source-> JDBC data source what I am supposed to put in in order to access the DB. Do

Is this a Microsoft or an Oracle Problem?

我怕爱的太早我们不能终老 提交于 2019-12-07 23:33:45
问题 In my original thread here: How can I fix ORA: 01013 (user requested cancel...) when trying to link Oracle tables in MS Access? I describe an issue attempting to link Oracle tables into a Microsoft Access (office 365) database. The process timed out after entry of a UID and password. As I researched the problem, I was able to determine that the ODBC drivers and DSN work for ADO, Toad, and Microsoft Power BI (when using a specific query against an Oracle table). I was never able to log entries

MySQL ODBC 3.51 - How to disable connection pooling from the ODBC GUI?

强颜欢笑 提交于 2019-12-07 23:03:38
问题 How do I disable connection pooling for MySQl ODBC Driver 3.51 on Windows7/Server2008 via the ODBC GUI? I do my own connection pooling at the app level, making connections as and when needed, and storing them for a fixed period until terminating them if not used. I use the ODBC's DSN string, so I need to be able to set the "Pooling=False" option from the ODBC configuration screen. 回答1: Found it... The 32Bit ODBC GUI is started from C:\Windows\SysWow64\odbcad32.exe. In this GUI, there is a tab

C application libmysqlclient versus ODBC

纵饮孤独 提交于 2019-12-07 22:43:09
问题 I am writing an application that needs to interface with a MySQL database. Should I use libmysql or the ODBC connector ? Are there any pros / cons beside the fact that using ODBC will allow me to change the DB in the future without much code change ? 回答1: I change my DB all the time, and I use the C connector, which works flawlessly and without too much code change. That has been the better choice for me and, perhaps, for you ( of course only imo). I can't believe that code changes would be

ODBC 5.1 connection string for MySQL with read-only access

只谈情不闲聊 提交于 2019-12-07 21:45:03
问题 I have read-access to a MySQL database and am trying to connect to it via the MySql ODBC 5.1 driver. I'm getting an authorization failure (401) from the server. The administrator set up my access as follows: mysql> grant select, create temporary tables on theDatabase.* to 'adrian' identified by 'password'; I am successful in connecting to the database using tools like dbvisualizer. The connection string I'm trying to use in C#.NET is as follows: "Driver={MySQL ODBC 5.1 Driver};Server

SSIS: how to use a linked server:

做~自己de王妃 提交于 2019-12-07 18:53:35
问题 I have added a linked server through MS SQL Server Management Studio successfully. It's name is SQL2_Link. When I go to add a connection as ADO.NET Connection in SSIS, it will not show up in the list of available options. How can I add this as an option for an ADO.NET Connection in SSIS. I am using SQL Server 2008, BIDS 2008. Thanks...! EDIT The Linked Server is using MS OLE DB Provider for ODBC DRIVERS 回答1: You wouldn't want to try to connect to the Linked Server in SSIS - just create a new

Access / Word 2010 VBA Mail Merge Tries to Open [Foldername].mdb Instead of ACCDB Source

拈花ヽ惹草 提交于 2019-12-07 18:51:33
问题 We are attempting to automate a mail merge process from within Access - upon clicking a button, VBA runs that specifies the current database (an accdb) as the data source and runs SQL, per the code below: 'Set up Word Dim objWord As Object Set objWord = CreateObject("Word.Application") 'Make visible, open specified doc to merge With objWord .Visible = True .Documents.Open strDocName End With 'Set the data source path Dim docPath As String docPath = CurrentProject.Path & "\" & CurrentProject