× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Jon,

AFAIK there is no feature within the iSeries Navigator that will create the
insert statements.
The only way I'm aware of is a manual way (or maybe you could write an
embedded SQL program).

Create the table as follows:

CREATE TABLE NewSchema/NewTable
As (Select * from OldSchema/OldTable)
With Data;

Mit freundlichen Grüßen / Best regards

Birgitta Hauser

"Shoot for the moon, even if you miss, you'll land among the stars." (Les
Brown)
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training them
and keeping them!"

-----Ursprüngliche Nachricht-----
Von: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] Im Auftrag von Jon Paris
Gesendet: Saturday, 14. November 2009 19:17
An: midrange-l@xxxxxxxxxxxx
Betreff: Re: Navigator

I guess I wasn't clear enough when I said:

"I can export the statements to recreate the table but I want SQL
inserts, not a flat file."

I know how to generate the SQL for recreating the tables etc.

What I want is to generate the SQL INSERTs that will _populate_ that
table. I don't want to have to mess with export/import of a flat
file. I want the INSERT ... INTO ... etc. that I can get with other
tools. I thought that Navigator had an option to generate those too,
but I can't find it. Maybe I've just been working with phpMyadmin and
stuff lately.


Jon Paris

www.Partner400.com
www.SystemiDeveloper.com



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.