odbc

Updating an SQLite database via an ODBC linked table in Access

你离开我真会死。 提交于 2019-12-13 12:26:13
问题 I am having an issue with an SQLite database. I am using the SQLite ODBC from http://www.ch-werner.de/sqliteodbc/ Installed the 64-bit version and created the ODBC with these settings: I open my Access database and link to the datasource. I can open the table, add records, but cannot delete or edit any records. Is there something I need to fix on the ODBC side to allow this? The error I get when I try to delete a record is: The Microsoft Access database engine stopped the process because you

getting invalid hindi string from mysql using jsp

点点圈 提交于 2019-12-13 09:35:36
问题 here are the settings this time using odbc connection ![showing u the settings][1] [1]: http://i.stack.imgur.com/4f2bD.jpg and ![ i have mentioned utf8 here][1] [1]: http://i.stack.imgur.com/C9fo5.jpg here is my code <%-- Document : index.jsp Created on : 30 Aug, 2011, 10:57:05 AM Author : Sahil --%> <%@page contentType="text/html" pageEncoding="UTF-8" import = "java.sql.*;"%> <%@page import = "java.util.*"%> <%@ page import = "java.io.*"%> <%@page import= "java.lang.RuntimePermission" %> <

unable to create System DSN for oracle [closed]

帅比萌擦擦* 提交于 2019-12-13 09:13:39
问题 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 need to set up a DSN to connect to an Oracle db from R. I know that I have oracle clients install, because I can connect Oracle databases using PL/SQL. When I open Control Panel->Administrator Tools->Data Sources, I dont see Oracle in there. I only see Sybase, MSSQL and excel. How do I add Oracle under System

Parameterized ODBC Query works with VarChar but not DateTime?

三世轮回 提交于 2019-12-13 08:45:21
问题 As followup to this question, everything was working when I was manually defining the dates like 2016-05-01 as strings/varchars. However, when I went to convert to datetime I'm now getting empty results again. This is the code as it stands: log("Connecting to SQL Server..."); string connectionString = "DSN=HSBUSTEST32;"; // Provide the query string with a parameter placeholder. string queryString = "SELECT COUNT(*) FROM Table WHERE myDateTime >= ? AND myDateTime < ?"; // Specify the parameter

How do I connect to Azure using unixODBC and FreeTDS?

青春壹個敷衍的年華 提交于 2019-12-13 08:17:20
问题 I'm on CentOS and I can log into my database using the following: TDSVER=7.2 tsql -H example.database.windows.net -U myname -D MyDataBase -p 1433 Then I put in my password and I can log in A-OK. Unfortunately isql / osql seem to have much more difficulty doing the same thing. My config looks like this: ~/.odbc.ini [AwesomeDatabase] Description = Azure Awesome Database Trace = off Server = example.database.windows.net Database = AwesomeDatabase UID = wayne@example PWD = mypassword Port = 1433

Can I connect with this driver

倾然丶 夕夏残阳落幕 提交于 2019-12-13 07:18:21
问题 One of my laptops still has Windows XP and SQL Server ODBC driver version 2008.85.1132.00. Unfortunately this laptop has a software that I can't put on the machine where I have SQL Server 2012 and it looks like there is no ODBC driver for WinXP anymore for Server 2012. So, I'm wondering if I can get a connection with that driver to my Server. Or the driver will be incompatible. Thank you. 回答1: All versions of Windows ship with a legacy SQL Server ODBC driver named "SQL Server" . That ODBC

Python Pycharm and SQL Server connection

瘦欲@ 提交于 2019-12-13 07:04:10
问题 I would like to use data from SQL server in Pycharm using python. I have my database connection set up in Pycharm, but not sure how to access this data within my python code. I would like to query the data within the python code (similar to what I would do in R using the RODBC package). Any suggestions on what to do or where to look would be much appreciated. 回答1: I have been having issues with this over learning this the last few days. (database / python) For me I am working in flask but it

Connect to MS Access DB (.accdb) Without “Access Database Engine 2010”

寵の児 提交于 2019-12-13 07:00:13
问题 I'm working on a 64 bit C# solution and I wish to connect to an MS Access DB (.accdb file) without installing "Access Database Engine x64". The "Access Database Engine x64" installation demand that the currently installed MS Office version is a 64 bit, which is not an acceptable demand in the company environment. I realized that OLEDB and ODBC demand that "Access Database Engine x64" will be installed. Is there another way to connect to the Access file? Thanks! 回答1: I realized that OLEDB and

MS Access no longer shows full ODBC connection string in property sheet

ぃ、小莉子 提交于 2019-12-13 06:55:29
问题 While testing an Access file after restructuring I frequently flipped between credentials for the UID and PWD of the ODBC connection string, but something I did recently has caused Access to no longer show the full connection string. I have 4 production pass-through queries and 1 test pass-through query. The test pass-through query shows the full ODBC connection string, but the 4 production pass-through queries show only ODBC;DSN=schema_name; . I tried restating the ODBC connection: a) I

create a table from a dataframe using RODBC

送分小仙女□ 提交于 2019-12-13 06:49:21
问题 I am connecting to a SQL Server using ODBC and want to create a table from a dataframe. Following RODBC vignette below is my code, library(RODBC) channel <- odbcConnect("DSN#", uid = "uname", pwd = "pwd") ana.cars.df <- data.frame(mtcars) sqlSave(channel, ana.cars.df) And below is the error that I am getting Error in sqlSave(channel, ana.cars.df) : 42000 102 [FreeTDS][SQL Server]Incorrect syntax near 'rownames'. [RODBC] ERROR: Could not SQLExecDirect 'CREATE TABLE ana.cars.df ("rownames"