pervasive

Pervasive SQL GRANT syntax

戏子无情 提交于 2021-01-29 09:32:57
问题 I've been Googling for half an hour now, and can't seem to find the right place... How do I add a user and grant that user access to all tables in the database? Found some GRANT snippets, but there is no mentioning of a password, so I assume that can be done on existing users only... But what about adding that user, and password identification? PS: Not sure if it belongs more here, or on serverfault (neither has this answer already)... So feel free to move it, if it should be on serverfault

Accessing Pervasive Database via Node.js on a Linux Server

女生的网名这么多〃 提交于 2020-01-13 07:18:06
问题 Our business system uses a Pervasive 13 database. I want to query this database from node.js on an Ubuntu Linux 18.01 server, but I can't seem to find any tutorials that show how to do this. With other databases, I've been able to find npm packages that simplify database communication, but I've yet to locate one for Pervasive. Linux drivers are offered, but I'm not sure how to ultimately query the database from node.js. Any general advise or resources pointing me in the right direction would

Create Pervasive Database using Distributed Tuning Objects (DTO)

家住魔仙堡 提交于 2019-12-25 06:49:08
问题 I am writing an application in C# (.NET 4.0) which has to integrate with another, much older application. Part of the requirement is to integrate with a much older program that uses Pervasive PSQL Version 9. I asked this question about accessing the database without having to install an ODBC DSN. Part of the answer (thanks very much) is that I need to create a database using DTO. I've used COM interop to access the dto2.dll COM library, and have read the samples, but I am having problems

Most efficient way to select records in one database based on result set from totally different database

倖福魔咒の 提交于 2019-12-25 03:06:24
问题 I have 2 totally separate databases - one MSSQL and one Pervasive. Due to the way our product data is stored in the Pervasive database, you cannot easily run a query to get a products's information and features to display on our website. So, using a DTS package I take the product data from Pervasive and process it so it is one MSSQL table with the product item # (primary key for both databases) and all of the columns for the product features. Very easy and fast to query for our website. The

Btrieve Date Integer

陌路散爱 提交于 2019-12-24 10:56:39
问题 this is my question: I'm migrating data from a Btrieve file (.dat) through Pervasive Control Center and there is field type which is defined as integer but is a date and for example the date '31/12/2009' (seen in the legacy system) is view it as the number 733772 when I export it. The legacy system shows the date correctly but I can't export it in the same format or at least I can't convert it. Does anybody know how to convert this number through Excel or something? 回答1: When I divided 733772

Different versions of PSQL when using DTO to get DB's names

烈酒焚心 提交于 2019-12-13 04:19:13
问题 I am working on an application, installed on windows OS, that connects to a Sage 50 (Peachtree) accounting software. The connection between the application and Sage is created using ODBC. To create the ODBC connection I am using the PSQL DTO lib to get the list of available databases. I obtained the lib from the PSQL SDK here - https://esd.actian.com/product/Zen_PSQL. I wanted to know if i need to worry about different versions of PSQL when using the DTO for the functionality of getting the

How to convert REAL48 float into a double

有些话、适合烂在心里 提交于 2019-12-12 16:13:57
问题 I am connecting to a Pervasive SQL database which splits some data over two fields. DOUBLE fields are actually split into fieldName_1 and fieldName_2 where _1 is a 2 byte int and _2 is a 4 byte int. I want to take these values and convert them using PHP into a usable value. I have some example code to do the conversion, but it is written in Delphi which I do not understand: { Reconstitutes a SmallInt and LongInt that form } { a Real into a double. } Function EntConvertInts (Const Int2 :

Pervasive ODBC access from PHP on Linux?

前提是你 提交于 2019-12-12 11:26:53
问题 Can anyone give me an example of querying a Pervasive PSQL database from PHP on a remote Linux machine? Pervasive claims PHP can access it, but their examples use Windows COM objects, which isn't available on Linux, and the first "PHP DTO Extensions 1" link they have for download actually links to a bunch of ASP .NET scripts, and isn't even PHP at all: Pervasive PHP Examples 回答1: I'll let Pervasvive know they need to change the sample. I've got some contacts there. As for using PSQL from a

Read Pervasive Database 9 without creating ODBC DSN

雨燕双飞 提交于 2019-12-12 01:29:34
问题 I am writing an application in C# (.NET 4.0) which has to integrate with another, much older application. Part of the requirement is that my program must read data from three Btrieve files. I can assume that these Btrieve data files will already exist on the computers where my program is installed, and I can also assume that Pervasive PSQL V9 will also be installed and the relational and transactional service programs are running. I have the associated DDF files, and I can install them as

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.