pervasive-sql

Ignore Locked Records During Pervasive PSQL Update Statement

試著忘記壹切 提交于 2019-12-11 15:15:02
问题 Is there way to tell Pervasive PSQL to ignore locked records during an standard SQL Update Statement? I have an update statement that needs to run daily on a Pervasive PSQL 11 SP3 database (that updates thousands of records). This update statement is sent via odbc. After each (of multiple) tries, the update fails after about 5 mintues with: S1000 General Error I suspected that maybe some of "the record to be updated" were locked. So I rebooted the server and ran the update statement again.

Query returning nothing

ぃ、小莉子 提交于 2019-12-11 01:54:48
问题 My query is as follows: Select h.ord_no from sales_history_header h INNER JOIN sales_history_detail d ON d.NUMBER = h.NUMBER WHERE d.COMMENTS LIKE '%3838CS%' And I get no results as shown here : But I should get results because : I ran the query: Select NUMBER, Comments from SALES_HISTORY_DETAIL WHERE NUMBER LIKE '%0000125199%' and got this (As you can see there's a comment field with 3838CS contained in it) : And ran this query: Select NUMBER, Ord_No from "SALES_HISTORY_HEADER" WHERE NUMBER

Using UnixODBC and FreeTDS to connect to Pervasive SQL server in ubuntu?

别说谁变了你拦得住时间么 提交于 2019-12-07 15:20:33
问题 I am trying to connect to a Pervasive Sql Server which is running on Windows 10 from an Ubuntu 14.04.4 server. I am using the following services to try connect to the server: FreeTDS unixODBC Before starting I tried to ping the host machine from the vm console with success. I then run the following command to check FreeTDS has installed correctly; tsql -C Which returned: Compile-time settings (established with the "configure" script) Version: freetds v0.95.95 freetds.conf directory: /usr

Using UnixODBC and FreeTDS to connect to Pervasive SQL server in ubuntu?

空扰寡人 提交于 2019-12-06 04:14:21
I am trying to connect to a Pervasive Sql Server which is running on Windows 10 from an Ubuntu 14.04.4 server. I am using the following services to try connect to the server: FreeTDS unixODBC Before starting I tried to ping the host machine from the vm console with success. I then run the following command to check FreeTDS has installed correctly; tsql -C Which returned: Compile-time settings (established with the "configure" script) Version: freetds v0.95.95 freetds.conf directory: /usr/local/etc MS db-lib source compatibility: no Sybase binary compatibility: no Thread safety: yes iconv