|
I'd like to use SQL to refresh data for a file that resides on both
our dev and prod box. (I want to move data from prod to dev box)
I've added RDB entries to both systems so they are cognizant of each
other. (using wrkrdbdire, well, addrdbdire)
In interactive SQL, I can use the-
connect to prod user myname using 'mypassword'
to connect FROM the dev to the prod box.
I successfully connect to prod, from dev and can perform select
stmts over prod data, from the dev session.
But, when connected to prod, I can't seem to reference the dev
(local) box.
for instance, I tried 3 part naming like below
insert into dev/jrpers/log
select * from prod/jrpers/log
this yields:
Statement references objects in multiple databases.
It's sort of like - while connected to prod, from dev, access to the
dev data files is unavailable to me. I've got to be missing some
piece to the puzzle.
Any help from anyone who has done this successfully would be
appreciated? I've searched a lot for wrkrdbdire and addrdbdire and
it's got me this far.
John Rusling
Senior Developer/Analyst
Quadion LLC
Minnesota Rubber& Plastics
952.927.1419
<br />
The information in this email is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this
email by anyone else is unauthorized. If you are not the intended
recipient, any disclosure, copying, distribution or any action taken
or omitted to be taken in reliance on it, is prohibited and may be
unlawful.
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.