odbc

unixodbc driver manager cannot open specified library on install

半腔热情 提交于 2019-12-21 04:23:18
问题 I'm using ArchLinux and I am trying to install OpenEdge progress drivers so I can access it via PHP. I've installed the unixodbc package and the drivers, but when I test the connection via isql or PHP, I get the same error... # isql -3 SUBS2A [01000][unixODBC][Driver Manager]Can't open lib '/usr/dlc/odbc/lib/pgoe1023.so' : file not found [ISQL]ERROR: Could not SQLConnect The messed up thing is that "/usr/dlc/odbc/lib/pgoe1023.so" presently exists, I even symlinked it from "/usr/dlc". The

What is the difference between ODBC and OleDB?

三世轮回 提交于 2019-12-21 04:21:38
问题 I found this question here: OLEDB v/s ODBC Which gave me more information, but did not really answer the question I'm asking, so I shall proceed from there. I am working in C#. I'll spare you the long story about how I arrived at this conundrum, but basically I'm trying to decide between ODBC and oleDB. We work with a lot of different clients who have vastly varied Databases (some SQL, some oracle, some something else that I've never heard of and didn't bother to remember the name of) Now,

What is the difference between ODBC and OleDB?

我们两清 提交于 2019-12-21 04:21:25
问题 I found this question here: OLEDB v/s ODBC Which gave me more information, but did not really answer the question I'm asking, so I shall proceed from there. I am working in C#. I'll spare you the long story about how I arrived at this conundrum, but basically I'm trying to decide between ODBC and oleDB. We work with a lot of different clients who have vastly varied Databases (some SQL, some oracle, some something else that I've never heard of and didn't bother to remember the name of) Now,

Connecting Excel to PostgreSQL via VBA

大憨熊 提交于 2019-12-21 04:12:15
问题 Is it possible to make query like SELECT from VBA in Excel, so I can query a PostgreSQL DB from Excel? If is possible please explain me how to connect to the database. I was looking in Google but found no results. 回答1: Create a table or view in PostgreSQL that describes the data you want. Use an ODBC or ADO connection from VBA to connect to PostgreSQL. If using ODBC you'll need to create a DSN via odbcad32.exe then use the DSN in VB, it isn't easy to just connect directly. See: Using ADO in

PHP 5.5 and MSSQL driver: Installing ODBC Driver 11 in Windows Server 2012 R2

南笙酒味 提交于 2019-12-21 04:06:13
问题 I have a Windows Server 2012 R2 with IIS 8.5, and another server with MSSQL 2012. I must install PHP in IIS and connect to MSSQL, and I don't have Internet available for Web PI. I managed to install PHP 5.5 and I'm able to run phpinfo() , and I also assured that php.ini is being loaded from C:\php\php.ini . I was also able to load sqlsrv driver, it reports in example sqlsrv.ClientBufferMaxKBSize 10240 10240 . But when I execute a php file that connects to DB, I get a message This extension

connecting to quickbooks database via odbc with php?

纵然是瞬间 提交于 2019-12-21 02:58:31
问题 [edit] We're collecting credit application data from users on a web form. I have not tied my web form directly into QB. I have no idea what the QB table structure is for this collection of data - nor of how it displays it to the user because I've never actually worked directly with QB. Others in my office do however. I would still appreciate any information about open source / free options. I'll simplify the problem by removing the first desired option. Let's just talk about importing a flat

PHP UTF8 not displaying chinese characters properly

混江龙づ霸主 提交于 2019-12-20 07:40:13
问题 I am trying to echo a chinese word in php from a table data but it seems it is not displaying properly Here's my code <?php echo'<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-Hans" lang="zh-Hans"> '; ?> <head> <title>A Test Page</title> </head> <body> <?php //Insert connection string require_once 'confx/confx.php'; $ID = 222; $conn =

Qt application crashing when using ODBC driver (macOS)

柔情痞子 提交于 2019-12-20 07:12:51
问题 My Qt application is crashing when i use ODBC driver to connect to Oracle database. The issue is a stack overflow. My code is #include "mainwindow.h" #include <QApplication> #include <QSqlDatabase> #include <QDebug> #include <QSqlError> int main(int argc, char *argv[]) { QApplication a(argc, argv); QSqlDatabase db= QSqlDatabase::addDatabase("QODBC3"); db.setUserName("SYS"); db.setPassword("oracle"); if (!db.open()) { qDebug() << db.lastError().text(); } else { qDebug("success"); } MainWindow

MySQL ODBC fails in C# .NET project but not runtime compiled code

拈花ヽ惹草 提交于 2019-12-20 06:29:29
问题 I have a project in which I'm accessing a MySql database on my web server via MySql ODBC driver 3.51. So far I've stuck to writing the ASP.NET C# code for this web app in notepad and just using runtime compiles on the server side to operate everything. So instead of using something like: <%@ Page Title="Add Order" Language="C#" MasterPageFile="~/main_layout.Master" AutoEventWireup="true" CodeBehind="order_add.aspx.cs" Inherits="Orders.order_add" %> I've been using: <script language="c#" runat

PHP Export to CSV from SQL Server

﹥>﹥吖頭↗ 提交于 2019-12-20 06:03:19
问题 I need some help to export from a SQL Server query to csv. I have the query but when I'm fetching the result I need to put it on an variable and export it. This is what I have: $query = 'select * from sqlserver_table'; $result = odbc_exec($conMsSql,$query); // this gives me the columns while(odbc_fetch_row($result)){ $field1 = odbc_result($result, 1); $field2 = odbc_result($result, 2); $field3 = odbc_result($result, 3); $field4 = odbc_result($result, 4); $field5 = odbc_result($result, 5);