-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathREADME
67 lines (51 loc) · 1.53 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
The pxtools are a set of tools to convert a Paradox-database into a
SQL-database.
This is a fork of https://github.com/ustramooner/pxtools, which is
derived from the original pxtools, which used to be found at
http://www.kneschke.de/projekte/paradox/ (it is now a 404).
Original author: mailto:[email protected]
pxTools
=======
pxinfo
------
dumps the basic infomations of the given paradox-file.
pxsqldump
---------
Parses the Paradox-database and dump the corresponding SQL-strings (CREATE
TABLE and INSERT INTO) on stdout.
use -n to overwrite the tablename.
use -f to specify the filename of t
pxcsvdump
---------
Parses the Paradox-database and dump the corresponding CSV-strings on
stdout.
use -n to overwrite the tablename.
Supported Field Types
=====================
Currently the following field-types are recognized:
ALPHA
DATE
SHORTINT
LONGINT
CURRENCY
NUMBER
LOGICAL
TIMESTAMP
MEMOBLOB
the rest is currenly not supported. mail me if you need more.
Problems
========
Y2K
---
Paradox-files are NOT Y2K-safe. Currently there is a workarund for this bug
in pxconvert.c that adds 100 years if the date is before 1.1.1970.
Index-files
-----------
The information you get out of the index-files by pxsqldump is not rellay
usefull. It all the data it can find, but the header is currently parsed
wrong. Anyway these index-files are not needed to convert a paradox-database
into a SQL-database. (PRIMARY KEY and FOREIGN KEY can't be detected yet.)
TIMESTAMP
---------
The field-type TIMESTAMP returned by pxsqldump has a precission of
+/- 1 second.