Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Art S. Kagel — — source: Informix-list mailing list archive (1991-1998)
FProse wrote:
>
> Does someone have a routine which will take the contents of a table
> and create SQL Insert statements? I've searched the IIUG library but
> can't find what I'm looking for. We have a need to repopulate certain
> tables in a training database several times a day and want the
> instructors to control this.
Why not just have a script that does a dbaccess UNLOAD and another that
does a LOAD? The instructors can then just run the two scripts as
appropriate.
I do have an awk script to generate such scripts from dbschema/myschema
output if that would help.
Art S. Kagel
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.