Btrieve without Pervasive?
Is there any library available to query Btrieve databases without buying something from Pervasive? I'm looking to code in C# or Python.
Asked by: Emily295 | Posted: 28-01-2022
Answer 1
As far as I know that is not possible. It is not an open source database, so writing drivers for it is really hard.
Answered by: Elise964 | Posted: 01-03-2022Answer 2
If you download one of the trial versions, you can get/install the odbc client and connect that way.
In our version of pervasive (older version) on the server where the database is installed, you can also find this client install.
Answered by: Sawyer615 | Posted: 01-03-2022Answer 3
This depends a lot on the version of Btrieve. I've been working with btrieve for a long time and have found that the best API for the old 6.15 version was in pascal. That having been said there was definately a C api around as well.
Pervasive have recently released a 6.15 ultimate patch. Using this and the C api should allow you to work effectively with older btrieve databases. It is possible for instance to build new modules for python using C.
Answered by: Kirsten474 | Posted: 01-03-2022Similar questions
database - Pervasive 8 and Python
Is it possible to access a Pervasive 8 (not Pervasive SQL) database from python?
python - setting up a dsn to a pervasive DB on Debian through pyodbc
I am trying to use python to pull data from a pervasive database, and put it in to a postgresql databse.
The postgresql connection is local and I can make that connection just fine.
However, the pervasive connection requires a dsn but I can not find the correct driver to use.
Can anybody shed some light on this problem that has been a huge problem for me these last few days?
Connect to Pervasive Database using Python pyodbc
I'm trying to connect to a Pervasive database using pyodbc. Below is the code I've tried:
import pyodbc
server = '10.10.10.01'
database = 'RMS'
username = 'test'
password = 'test123'
conn = pyodbc.connect(f'DRIVER=Pervasive ODBC Interface;SERVER={server};'
f'DBQ={database};UID={username};PWD={password}')
cursor = conn.cursor()
When executing I receive the followin...
Still can't find your answer? Check out these communities...
PySlackers | Full Stack Python | NHS Python | Pythonist Cafe | Hacker Earth | Discord Python