|
On Jan 15, 2018, at 2:26 PM, Rob Berendt <rob@xxxxxxxxx> wrote:
Thank you for that explanation.
I think I have it now.
You want something that extends the "generate sql" capability to also
populate the table such as this example 5 from knowledge center,
INSERT INTO DEPARTMENT (DEPTNO, DEPTNAME, ADMRDEPT)
VALUES ('B11', 'PURCHASING', 'B01'),
('E41', 'DATABASE ADMINISTRATION', 'E01')
You could try submitting a RFE.
Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
From: Jon Paris <jon.paris@xxxxxxxxxxxxxx>
To: Midrange-L Midrange-l <midrange-l@xxxxxxxxxxxx>
Date: 01/15/2018 02:04 PM
Subject: Re: "Missing" functionality ?
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>
Rob, yes I am aware of the new naming options - and security has nothing
to do with as _I_ am not going to be the one running the scripts.
Sometimes when I publish an article I include the source code and from
time to time need to supply some basic test data to encourage people to
"play". I used to just supply the DDS. Then I added a CSV. But recently I
decided that a better way would be to supply an SQL script that would both
create the table and populate it without a bunch of individual steps. It
is also easier that way for people to add/modify the data content.
The resulting package is made available for download.
That is what I was trying to build - as I have done in the past when
sending out MySQL tables (for example) for PHP examples.
Jon Paris
www.partner400.com
www.SystemiDeveloper.com
On Jan 15, 2018, at 1:12 PM, Rob Berendt <rob@xxxxxxxxx> wrote:security
So I take you can't do
create table rob.jonparis as (
select *
from gdisys.erplxf.rco)
with data;
Basically what you are saying is,
even though there is a way to connect from two different systems at the
same time, you are unable to because of external factors such as
reasons, remoteness of one site or the other, or some other such thing?systems
Or, did you not know that they've added database.schema.table naming?
Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
From: Jon Paris <jon.paris@xxxxxxxxxxxxxx>
To: Midrange-L Midrange-l <midrange-l@xxxxxxxxxxxx>
Date: 01/15/2018 12:01 PM
Subject: Re: "Missing" functionality ?
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>
Which only works if you can connect to both the source and target
at the same time Rob.be
That's why I needed to generate the individual INSERTs - so that it can
packaged as source and installed anywhere.
Jon Paris
www.partner400.com
www.SystemiDeveloper.com
On Jan 15, 2018, at 7:45 AM, Rob Berendt <rob@xxxxxxxxx> wrote:to
I really have no idea what you are trying to say here.
Me, I'm thinking something like
insert into mytable (
select * from sourcetable)
or something like that.
Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
From: Jon Paris <jon.paris@xxxxxxxxxxxxxx>
To: Midrange-L <midrange-l@xxxxxxxxxxxx>
Cc: Paul Tuohy <Paul@xxxxxxxxxxxxxxxxxxxx>
Date: 01/14/2018 12:34 PM
Subject: "Missing" functionality ?
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>
Maybe I am just not using the right google search but ...
Every database tool I have used in recent years has included an option
generate INSERTs from data in an existing table.
I've looked at ACS, RDi, and everywhere else I could think of - and all
Ilist
can find is the ability to look at data, or export as CSV type files.The
only SQL generation available seems to be for the table definition.list
This seems such an obvious oversight I'm convinced I must have missed
something.
In the end I loaded up DBeaver and it did the job for me - thought I'd
mention that in case anyone else had a similar need and was equally
confused.
Jon Paris
www.partner400.com
www.SystemiDeveloper.com
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxxquestions.
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
link: http://amzn.to/2dEadiD
Help support midrange.com by shopping at amazon.com with our affiliate
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxxquestions.
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
link: http://amzn.to/2dEadiD
Help support midrange.com by shopping at amazon.com with our affiliate
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link: http://amzn.to/2dEadiD
As an Amazon Associate we earn from qualifying purchases.
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.