Hi PJ
There are many ways of doing this - You don't say what format you want
to export the data, or what the target system is, so you'll need to
decide which is most appropriate. Pretty much all of what follows can
be done via the command line, or if you prefer you can do it in a little
program which saves all the commands you use in one place.
You need to check out the HELP system that comes with Personal Express,
for the following commands in particular (one of these options is likely
to be what you want):
1) EXPORT - to EIF file. This is useful if you want to move data from
one Express database to another (or to an Oracle 9iOLAP Analytic
Workspace - Oracle9i OLAP includes all the Express functionality and can
be regarded in most respects as the next major release of Express).
Also check out the EIF PIPELINE option - this is where you can have two
Express systems communicating to each other via an XCA (Express
Communication Architecture) connection. eg Personal Express v 5 talking
to Express Server v 6.x If your new system is in Express 6 or
9iOLAP, then you should seek advice on how to take advantage of the much
improved sparsity management features in these releases, and also on how
to efficiently define the new fact data variables in Express 6/9iOLAP.
Some stuff in the Express language changed between Express 5 and version
6, and now in 9i - so expect to have to modify some of your application
when it is in the new version.
2) SQL command - Personal Express v5 can push data into relational
tables via the Express Language SQL command. You can insert into
tables, update, commit etc. This is very useful if you want to move
data to and from Express and a relational database like Oracle or one of
the others.
3) REPORT command - a simple but extremely powerful and flexible command
that lets you output data into text format - eg flat files - in most
common styles of output. By default it obviously prints row and column
labels etc, but you can remove them using the NOHEAD keyword.
4) ROW command - if you need to be even more sophisticated than REPORT
allows, use ROW (generally you use this in a program)...
With all of the above the HELP system provides examples. You will need
to check out the LIMIT command also, so that you can set the scope of
the data that you want to output.
Hope it helps, Kevin @ Oracle
PS - Ofcourse, version 5 of Express is indeed old, but not hopeless at
all - it still has more talent than alot of so called modern competitors
;-) But then, I'm biased. Express 6.x and 9iOLAP ofcourse build on
all the good things there and add alot more new good things on top. If
you haven't already done so, do check them out.
PJ1382 wrote:
Quote:
Hi all,
I realise that Oracle Personal Express v5 is hopelessly old, but we are
trying to replace the app that it runs off. Unfortunately we need to get
the data out of the existing database and I can find zero documentation
on how to do this.
When I had a look at the app I noticed there was a command line ...
obviously though since at the mo this is a production system with no
backup, I really don't want to go in and just mess with this.
Does anyone have any idea
1) Where I can find any documentation to help me?
2) How the hell I use the CLI (or any other tool) to get at the data and
extract it into XL or similar?
Many thanks for any help proferred
Meri
--
Posted via http://dbforums.com |