Feature-Request

This is something that generates work for me, which wouldn't be necessary:

We have a development-DB and a live-DB. I often create data on the development-DB which I want to transfer to the live-DB en bloc. This isn't necesarrily a lot of data, but spans over multiple tables. Which makes export-import too work-intensive.

Here's my feature-request:
It would be great to have the possibility to generate "INSERT" - Statements from "SELECT"-Statements. I could then compile a script
for the live-DB to insert all the necessary data in one turn.

Of course this wouldn't work with blobs, but it wouldn't be necessary.

I know I can do it with Export->SQL Inserts, but then I would have to save the data for every Export in seperate Files, would have to be sure or double-check the where-clause, and would have to open all those files again and compile the "INSERT"-Statements...

I'm just wishing for a better workflow in such cases...

You see what I mean?
 
Hi,

simply create a DB-Link and execute your queries
as normal.

insert/*+append*/ into ...
select ... from ...@livedb

it is as simple as that.

regards
 
Thanks Whip - I was hoping you would speak up. I couldn't remember who wrote it and it's pretty darned cool.

Mike
 
What do I do in our environment....??? Being a BANK...the Auditors do not allow datbaselink between DEV and TEST and PRODUCTION.....
??????????
 
Back
Top