odbc

Create linked server in management studio to SAGE 50 US database using ODBC Data source administrator

假装没事ソ 提交于 2020-01-06 05:40:29
问题 I am trying to create a linked server to SAGE 50 using server in management studio but keep getting an error. I am hoping that someone has done this before and can provide some guidance.I set up and tested "ODBC data source administrator (64bit)" with as seen below and it works for Microsoft access when I used "External data - ODBC database" connection. I then added a linked server with the security tab set up like so using the same credentials that I used to add it to Access like so: And set

ODBC_connect runs only with psql user

微笑、不失礼 提交于 2020-01-06 04:54:20
问题 I have a php script who ask data from a odbc database (pervasive client). When i run the script in CLI as the psql user (which the installer created) , then i have no problems and the script runs. When i run the script in browser ( as www-data) or in CLI as root or as a cronjob then i receive the error : PHP Warning: odbc_connect(): SQL error: [unixODBC][Driver Manager]Can't open lib '/usr/local/psql/lib64/libodbcci.so' : file not found, SQL state 01000 in SQLConnect in /var/ww.... i have

Jet Engine's query-optimization is based on statistics, but how are they refreshed with linked tables?

自古美人都是妖i 提交于 2020-01-06 04:35:06
问题 i am dealing with some legacy access < 2007 "databases". All the tables are linked tables to a SQL Server 2008. While the odbc-links are established the table structure is copied into the mdb-file together with the DSN-string. Thats what one can see in Msysobjects. A query forces the jet-engine to retrieve the data from SQL Server under respect of the jet-engines optimization. Therefore it is essential to refresh the odbc-links whenever a change in sql server is made, like adding a new index

Connecting to Access Database with PHP

人盡茶涼 提交于 2020-01-06 04:18:08
问题 I'm trying to connect to my Access database via PHP, but i am getting the following error : Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[IM002] SQLDriverConnect: 0 [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified' in C:\inetpub\wwwroot\agency\getProperty.php:7 Stack trace: #0 C:\inetpub\wwwroot\agency\getProperty.php(7): PDO->__construct('odbc:Driver={Mi...') #1 {main} thrown in C:\inetpub\wwwroot\agency\getProperty.php on

Emoji data retrieved via ODBC Connection appears as question mark

北城以北 提交于 2020-01-06 02:38:23
问题 I connect to MySQL version 5.5.50-log from classic ASP pages. The MySQL Database is set up as follows: Database charset: utf8mb4 Database collation: utf8mb4_general_ci The table and field: Character Set: utf8mb4 Collation: utf8mb4_general_ci To test, I have data in the table, which contains this string: 🍔(T_T) é, è, à, ç This is a screenshot of the data from the SQLyog: This is my test web page: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible"

Select time value or date value from datetime with C# odbc

不问归期 提交于 2020-01-05 17:21:12
问题 I have a SQL query being sent by C# system.data.odbc OdbcCommand object. SELECT Calldate FROM calls; The Calldate column is a datetime type. I want the select statement to only return the date portion of the value. The DateValue function doesn't seem to do anything. I am hoping to achieve this within the SQL provided to the OdbcCommand object. Edit 1: The resource being queried is an access mdb file. 回答1: Given you are using sql server, you can convert the datetime select convert(datetime,

Select time value or date value from datetime with C# odbc

佐手、 提交于 2020-01-05 17:19:16
问题 I have a SQL query being sent by C# system.data.odbc OdbcCommand object. SELECT Calldate FROM calls; The Calldate column is a datetime type. I want the select statement to only return the date portion of the value. The DateValue function doesn't seem to do anything. I am hoping to achieve this within the SQL provided to the OdbcCommand object. Edit 1: The resource being queried is an access mdb file. 回答1: Given you are using sql server, you can convert the datetime select convert(datetime,

mysql over SSH tunnel

旧城冷巷雨未停 提交于 2020-01-05 10:36:11
问题 I'm having an issue on both a win7 development machine, and on a windows 2008 production server with connecting to a remote Suse Linux server to mysql over SSH. I've followed the very simple instructions here. http://realprogrammers.com/how_to/set_up_an_ssh_tunnel_with_putty.html only on the last step, i'm trying to use the odbc connector that I downloaded from here. http://dev.mysql.com/downloads/connector/odbc/ trying both localhost:3306 and 127.0.0.1:3306 doesn't seem to make a difference.

mysql over SSH tunnel

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-05 10:34:05
问题 I'm having an issue on both a win7 development machine, and on a windows 2008 production server with connecting to a remote Suse Linux server to mysql over SSH. I've followed the very simple instructions here. http://realprogrammers.com/how_to/set_up_an_ssh_tunnel_with_putty.html only on the last step, i'm trying to use the odbc connector that I downloaded from here. http://dev.mysql.com/downloads/connector/odbc/ trying both localhost:3306 and 127.0.0.1:3306 doesn't seem to make a difference.

ODBC linked table not showing fractions of seconds

夙愿已清 提交于 2020-01-05 10:18:47
问题 I have linked an IBM informix database table through an ODBC connection to an Access 2010 database. My issue is that the date field in this table only shows dd/mm/yy HH:nn:ss in the Access view, where the stored data is to 1000th of a second. I can show this in Excel 2010 but not in Access 2010: is this possible? Not having this level of accuracy is preventing me making accurate calculations! 回答1: There is a similar question on another forum here. The Date/Time field type in Access does not