dBase SQL

Az élet ismét összehozott egy DOS korszakból hátrahagyott, de használandó szoftverrel. A cucc dbf fájlokat használ, amikhez szeretnék programozottan hozzáférni lehetőleg valami emberi eszközzel (SQL parancsokon keresztül szeretném módosítani a táblák -- bocsánat fájlok -- tartalmát). Próbáltam eddig pár freeware, shareware cuccot, de eddig egyik sem vezetett célra.
Nem tud véletlenül valaki ilyen szoftverről?
Amit próbáltam:
- gtkdbfeditor
- DBF commander free
- DBF Viewer and editor

Hozzászólások

Amiket próbáltál, azokkal mi gondod volt?
Ugyan nem kifejezetten SQL, de Python és PHP interface-t láttam már .dbf fájlokhoz.

Aki tudja, csinálja, aki nem tudja, tanítja... Hm... igazgatónak talán még jó lennék. :)

Hajdan FoxProval gyúrtam dbf-eket az SQL-ével.
Gőzöm nincs, hogy beszerezhető-e, de a wiki szerint még linuxra is portolták.

És persze létezik az XBase modul perlhez... de azzal már/még nem kellett dolgoznom.

Ugyan nem sql es, de az xbase teljesen jol hasznalhato lib dbf fajlok itadata es olvasasara

Tudomásom szerint a DBase IV már tudott SQL-t. Nem tudom mennyire emberi ez. :)

Ha nem túl nagy a tábla, akkor Excel-len is át tudod tenni csv-be, onnan pedig már csak egy ugrás az SQL. Akár át is teszem Neked MySQL-be ha az jó neked. (A memó mezőket nem vállalom, a többit igen. :) )

Valamikor írtam hozzá natív drivert C-ben. Nem nagyon bonyi a felépítése.

Emlékeim szerint még a Access is kezeli őket. Azaz lehetőség, mint a tenger. :)

(Elnézést, ha eretnek neveket mondtam, csak a DOS miatt volt...) :)

Szólj, ha van valami konkrét kívánságod!
-----------
UI.: Most látom, hogy az eredeti táblákat akarod módosítani. Hmm... Tényleg nem megoldás az egyszeri konvertálás?

Ha tényleg belekerülnek a rekordok, akkor a viewer vagy nem frissíti a rekordszámot, vagy a törlésjelző flaget bebillentve fűzi azokat a dbf-hez.

Ennek alapján bármilyen hexa nézegetővel ellenőrizhető a fenti tipp (vagy egy egyszer használatos kóddal megoldható a rekordok átemelése): http://www.dbf2002.com/dbf-file-format.html

DBase IV mar tudott sql-t, csak anno nem hasznalta senki, mert nem volt ala gep.
esetleg egy korabeli Magic 5.x a dbf meghajtojaval.

Ha nem muszáj dbf-ben tartani a változásokat, akkor dbf2mysql?

Esetleg ezt megnézni?

Megjegyzés: Csak a program nevére, és arra emlékeztem, hogy Clipper-jellegű funckcionalitással rendelkezi, azt nem tudom, hogy egyáltalán létezik -e még élő támogatás hozzá...

G.
============================================
"Share what you know. Learn what you don't."

Pammer Pál delphi-s pBase programjára keress rá. Ha kell, megküldöm, freeware.

Nem programozva meg mindig hasznalhato a DBU. Harbour examples alatt talalhato, kell hozza az eredeti clipperes programok.
Minigui peldak kozok van egy DBA nevezetu programocska. A hasznalando rendszerre kell leforditani. win98, win xp, win7 64 bit, win8 alatt hasznalom. Mivel C-ben barmit hozza lehet csapni, a hatar a csillagos eg.

http://cch4clipper.blogspot.sk/

www.harbour-project.org
levelezőlista: harbour-devel.googlegroups.com
https://groups.google.com/forum/#!forum/harbour-users

Harbour + MiniguiIDE Telepítés + Fejlesztés
http://server100.sytes.net/hmgforum/

Harbour MiniGUI Extended Edition
http://hmgextended.com/files/CONTRIB/hmg-2.2.6-setup.zip
levelezőlista:harbourminigui@yahoogroups.com
version: Harbour MiniGUI Extended Edition 2.2.6 - 2013.09.17

http://www.marinas-gui.org/

Harbour is the free software implementation of a multi-platform, multi-threading, object-oriented, scriptable programming language, backward compatible with Clipper/xBase. Harbour consists of a compiler and runtime libraries with multiple UI and database backends, its own make system and a large collection of libraries and interfaces to many popular APIs.

Harbour is a cross-platform compiler and is known to compile and run on Windows (32 & 64), GNU/Linux, OS X, Windows CE, OS/2 and MS-DOS.
Native SQL, ADO & ODBC Support
Support modern tecnologies: XML, FTP, TCP/IP, etc.
Cross-platform: 32/64-bit, Mobile, Mac, etc
Create Console, GUI, Service & Web Applications
Contains many third party libs with additional features
Developed by a very experienced and capable team of developers
Nightly binary

Comments to Harbour distribution offered by HMG Extended Edition
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

Version: 3.2.0dev

Built on: 2013-09-10

Last ChangeLog entry: 2013-09-10 02:09 UTC+0200 Przemyslaw Czerpak

ChangeLog ID: a6dec78623f3c9d78ad53815fedade0e99a16770

Compiler: Borland C++ 5.5.1 (32-bit)

Extra Harbour compiler options: -gc0

Extra C compiler options: -DHB_GC_AUTO -DHB_GUI

Build options: (Clipper 5.3b) (Clipper 5.x undoc)

Harbour Project contrib and extras libraries are included on this distribution:

- hbct.lib /* Clipper Tools */
- hbnf.lib /* NanForum Toolkits */
- hbmisc.lib /* Miscellaneous functions */
- hbodbc.lib /* ODBC Access */
- hbsqldd.lib /* SQL Database Driver */
- sddodbc.lib /* ODBC Database Driver */
- sddmy.lib /* MySQL Database Driver */
- sddsqlt3.lib /* SQLite3 Database Driver */
- hbmemio.lib /* Memory file system */
- hbnetio.lib /* Alternative RDD IO API */
- hbsqlit3.lib /* SQLite3 library wrappers */
- hbtip.lib /* Internet protocol */
- adordd.lib /* RDD to automatically manage Microsoft ADO */
- rddads.lib /* RDD for Advantage Database Server */
- rddbm.lib /* Alternative BMDBF* implementation */
- hbziparc.lib /* ZipArchive interface compatibility implementation */
- hbmzip.lib /* ZIP file support based on minizip library */
- hbzebra.lib /* Zebra barcode library */
- hbfimage.lib /* FreeImage graphic library wrappers */
- hbhpdf.lib /* LibHaru Pdf library wrappers */
- hbvpdf.lib /* Victor K. Clipper Pdf Library */
- hbwin.lib /* Windows API functions */
- hbmysql.lib /* MySQL DBMS classes */
- hbpgsql.lib /* PostgreSQL DBMS classes */
- xhb.lib /* xHarbour compatibility wrappers */

Additional 3rd C-code Libraries:

- ziparchive.lib obsolete ZipArchive library for compatibility with old code only
- minizip.lib MiniZip library from http://www.winimage.com/zLibDll/minizip.html

Other Libraries:

- FreeImage.lib:Created from freeimage.dll (distributed along FreeImage)
by adding the following statement in the Harbour make script:
set HB_WITH_FREEIMAGE=C:\FreeImage\Dist

- libmysql.lib: Created from libmysql.dll (distributed along MySql)
using Borland implib utility.

- libpq.lib: Created from libpq.lib (distributed along PostgreSQL)
using Digital Mars coffimplib utility.

- ace32.lib: Created from ace32.dll (distributed along Advantage
local server) using Borland implib utility.

- odbc32.lib: Created from odbc32.dll (distributed along Windows)
using Borland implib utility.

- dll.lib: What32's DLL access code.
Authors:
Andrew Wos
Vic McClung
Source code available in the folder \source\Dll.

- calldll.lib: Dll Access Code.
Copyright 2005 Vic McClung
Source code available in the folder \source\CallDll.

- hbcomm.lib: Win32 serial port routines.
Copyright 2003 Luiz Rafael
Modified by Ned Robertson for Harbour
Source code available in the folder \source\HbComm.

- hbole.lib: Harbour OLE Library. Part of xHarbour core
Copyright 2002 Jose F. Gimenez
Source code available in the folder \source\HbOLE.

- hbxml.lib: Harbour XML Library. Part of HWGUI project
Copyright 2003 Alexander S.Kresin
Source code available in the folder \source\HbXML.

- hbunrar.lib: UnRar Dll access library.
Copyright 2007 P.Chornyj
Source code available in the folder \samples\Advanced\UnRar.

- hbprinter.lib:Harbour Win32 Printing library.
Copyright 2002-2005 Richard Rylko
Source code available in the folder \source\HbPrinter.

- miniprint.lib:Harbour MiniGUI Print library.
Copyright 2004-2010 Roberto Lopez
Source code available in the folder \source\MiniPrint.

- shell32.lib: Shell Extensions library.
Copyright 2004 Grigory Filatov
Source code available in the folder \source\shell32.

- socket.lib: Harbour Socket Library.
Copyright 2001-2003 Matteo Baccan
Source code available in the folder \source\Socket.

- TMsAgent.lib: MS Agent access library.
Copyright 2004 Juan Carlos Salinas Ojeda
Source code available in the folder \source\TMsAgent.

- BosTaurus.lib: GDIPlus-based Graphics Library.
Copyright 2012-2013 Dr. Claudio Soto
Source code available in the folder \source\BosTaurus.

- SQLite3Facade for Harbour: facade for Harbour's SQLite3 contribution library.
Copyright 2010 Daniel Goncalves
Source code available in the folder \source\SQLite3Facade.