[DB-SIG] Open up a Sybase .db file.

Jason C. Leach jleach@mail.ocis.net
Tue, 30 Oct 2001 19:52:42 -0800


What I have is an app developed with Powerbuilder. The app has a .db file
and I would really like to get the data out of it.  I asume it's in
Sybase format, since they develope Powerbuilder.


On Tue, Oct 30, 2001 at 02:49:04AM +0100, Magnus Lyck? wrote:
> At 15:41 2001-10-29 -0800, Jason C. Leach wrote:
> >Does anyone know if I can open a Sybase .db file from Python?
> Sure, you can open ANY file from Python. Do you know how it's
> organized?
> Do I understand correctly that you want to read (or even write)
> from / to a Sybase database without using a Sybase server?
> I would think that is difficult. I don't think any of the
> commercial database vendors publish those kinds of file formats,
> and I imagine they will change from version to version. It is
> probably possible to extract data after a lot of investigation,
> but I would certainly not let anyone manipulate database files
> I depended on like that.
> I think the only sane way to manipulate a Sybase databse file is
> by using a Sybase database. Python can speak to a Sybase server
> using a Sybase DBI, see http://www.object-craft.com.au/projects/sybase/
> or with mxODBC.
> --
> Magnus Lyckå, Thinkware AB
> Älvans väg 99, SE-907 50 UMEÅ
> tel 070-582 80 65, fax: 070-612 80 65
> http://www.thinkware.se/  mailto:magnus@thinkware.se

..... Jason C. Leach

PGP/GPG Public key at http://www.keyserver.net/
Key ID: 157BD48C