Hi All -
I am trying to automate our code migration from Test to Prod and here is the
pseudo code :
1. connect to Test
2. create a database link to point to production
3. connect thru the database link to production
4. run the migration sql code
5. drop the database link 

Here are my questions: 
1. Does this sound like a solid solution?
2. After step 4, I need to 'come back' to Test and drop the newly created
database link. How to achieve that in sqlplus? Basically I need a
'disconnect' that do not disconnect me all the way. Right now I work around
that by doing another connect to Test. But there's got to be a more elegant
solution.

Thanks

Dennis 

---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Meng, Dennis
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to