odbc

unable to find the requested .net framework data provider. it may not be installed

帅比萌擦擦* 提交于 2019-12-24 17:31:31
问题 I am trying to connect to an informix database on a 64 bit windows 7 pc. I have been able to make the connection just fine on a 32bit pc, but I get the above error when trying to run it on the 64 bit pc. It is looking for the IBM.Data.Informix driver, but says it can't find it. I've got 2 versions of that dll in my GAC - 3.0.0.2 and 9.0.0.2. Does anyone have any idea how to get this working? Thanks for any thoughts. 回答1: I found the issue - I had to edit the machine.config by adding the

unable to find the requested .net framework data provider. it may not be installed

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-24 17:30:32
问题 I am trying to connect to an informix database on a 64 bit windows 7 pc. I have been able to make the connection just fine on a 32bit pc, but I get the above error when trying to run it on the 64 bit pc. It is looking for the IBM.Data.Informix driver, but says it can't find it. I've got 2 versions of that dll in my GAC - 3.0.0.2 and 9.0.0.2. Does anyone have any idea how to get this working? Thanks for any thoughts. 回答1: I found the issue - I had to edit the machine.config by adding the

MS Access Passthrough Query Update

和自甴很熟 提交于 2019-12-24 15:27:33
问题 I am trying to make an Update to a Passthrough query using MS Access to an ODBC server that I have no control over. The reason I have to use a Passthrough is that the records I am accessing have more than 255 fields (I would use a linked table if I could). I've been using this resource to get the data using Passthrough (http://www.techonthenet.com/access/tutorials/passthrough/basics09.php) The query is simply: SELECT FullName, PointNumber FROM DNP3.CDNP3AnalogIn The ODBC Connect Str is: ODBC

SQL0802 - Data Conversion or Data Mapping Error

早过忘川 提交于 2019-12-24 14:34:04
问题 I'm am trying to write a query that calculates some numbers on the servers side, rather than after the data is pulled. I keep getting the SQL0802 error. I have tried a regular Sum as well as Double and float commands. I think the return is to long. I'm using SQL Squirrel so I went and removed the decimal place restriction to see if that would fix the problem. It is the "Gross Margin" calculation that is throwing it off. The rest of the calculations work fine. I appreciate any help i can get.

Want to Connect redshift to R

佐手、 提交于 2019-12-24 13:59:04
问题 I tried to use the code from this link but I got an error driver <- JDBC("com.amazon.redshift.jdbc41.Driver", "RedshiftJDBC41-1.1.9.1009.jar", identifier.quote="`") JavaVM: requested Java version ((null)) not available. Using Java at "" instead. JavaVM: Failed to load JVM: /bundle/Libraries/libserver.dylib JavaVM FATAL: Failed to load the jvm library. Error in .jinit(classPath) : JNI_GetCreatedJavaVMs returned -1 After loading the driver and trying to connect. I don't know how to connect

Copying multiple tables using SSIS Package [duplicate]

微笑、不失礼 提交于 2019-12-24 12:34:49
问题 This question already has answers here : ssis best practice to load N tables from Source to Target Server (3 answers) Closed 5 years ago . I am trying to design an SSIS package which copy about 50+ tables from an ODBC DataSource (QuickBooks DB) to an SQL DB. Should I create 50 Data Flow Task to do this ? What is the best way to do this ? Putting DFT inside a Loop, and reading the tables ? Or 50+ Data Flow Tasks ??? 回答1: You can create 50 Data Flow Tasks, but you don't have to. It is possible

SSRS and Firebird Database (ODBC Connection issues in Report Manager)

雨燕双飞 提交于 2019-12-24 12:11:57
问题 I have a Windows 7 OS (64-bit). I have data coming from Firebird database, and reports in Microsoft SSRS. I am able to write queries and successfully retrieve data in the BIDS (SSRS 2008), as well as in SSDT (SSRS 2012). However, when I deploy the reports in Report Manager in the IE browser, I get these 2 errors: ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified (this is when I use the ODBC Connection as a User DSN) (or) ERROR [IM014]

SQL_ATTR_QUERY_TIMEOUT Not Timing Out

我们两清 提交于 2019-12-24 11:39:10
问题 Setup Using SQL Server 2008 R2. I have an ODBC call to a stored procedure that should time out after 3 seconds by using the SQLSetStmtAttr function with the SQL_ATTR_QUERY_TIMEOUT parameter. SQLSetStmtAttr( command, SQL_ATTR_QUERY_TIMEOUT, (SQLPOINTER)&timeOut, NULL ); Test I set a delay in the stored procedure for 15 seconds. The stored proc does indeed take just over 15 seconds to return. WAITFOR DELAY '00:00:15' Issue The problem is that the stored procedure returns correctly, where I am

Android Java ODBC Connection

扶醉桌前 提交于 2019-12-24 10:25:48
问题 i am here with another problem about android... I am trying to connect to my mysql database with that code: public void testDB() { TextView tv = (TextView)this.findViewById(R.id.textView1); try { Class.forName("com.mysql.jdbc.Driver"); Connection con = DriverManager.getConnection(url, user, pass); /* System.out.println("Database connection success"); */ String result = "Database connection success\n"; Statement st = con.createStatement(); ResultSet rs = st.executeQuery("select * from users");

MS Excel - Pivot Table - Accessing the source data when it isn't a tab in the spreadsheet

放肆的年华 提交于 2019-12-24 10:03:28
问题 I have a spreadsheet that is emailed to me by an outside vender. It contains a bunch of pivot tables. I really couldn't care less about the pivot tables, I just want the underlying data. The data comes from a sql server that I don't have access to, but the data is stored within the spreadsheet. Is there anyway that I can access the data, (I think it's the PivotCache) directly without drilling into one of the pivot tables? I'd love some sort of ODBC/ADO.Net command that I can use from SSIS.