On Aug 24, 1:38 pm, ghing....TakeThisOut@yahoo.co.uk wrote:
> HiZhiliang
>
> You should use the copydb command with a -c switch. This way you
> will have an open format file (tab delimited) which is easy to parse.
> Read the "command & reference" guide for the copydb command and the
> SQL guide (copy statement) for figuring out what the copy.out file
> contains (and the text file it builds - especially varchar types
> etc..)
>
> Hope this helps.
>
> Gary
Thanks Gary, that is useful.
However in our case we only have a backup copy from a time point that
were saved with copydb without -c switch, and I wish to recover data
out of it by parsing it out. I know another way might be that I can
create a temporary db and load it with copy.in script, then export
again ...
Zhiliang
>> Stay informed about: parse copy.out output as plain text?