Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Transparent database objects after merging

Re: Transparent database objects after merging

From: <Ukrit.Kuprasit_at_allianz.com.sg>
Date: Wed, 16 Jul 2003 11:14:28 +0800
Message-Id: <25929.337928@fatcity.com>


This is a multipart message in MIME format. --=_alternative 0011CE3C48256D65_=
Content-Type: text/plain; charset="us-ascii"

Hello,

        Sorry I might not give all the problem corectly. I need to access to both CUSTOMERS and also CUSTOMERS_B. Not just only one. If only one table, my head will not spin like this.
^__^
Ukrit K,

"Arup Nanda" <orarup_at_hotmail.com>
Sent by: ml-errors_at_fatcity.com
07/16/2003 11:59 AM
Please respond to ORACLE-L  

        To:     Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
        cc: 
        Subject:        Re: Transparent database objects after merging


You can drop or rename CUSTOMERS to, say, CUSTOMERS_A, and then create synonym CUSTOMERS pointing to CUSTOMERS_B. Or rename CUSTOMERS_B to CUSTOMERS.   HTH.   Arup Nanda
----- Original Message -----
From: Ukrit.Kuprasit_at_allianz.com.sg
To: Multiple recipients of list ORACLE-L Sent: Tuesday, July 15, 2003 11:29 PM
Subject: Transparent database objects after merging

Hello Gurus,

        I'm working merging 2 databases which have sane structure of database objects into one database. However, after merging, the business policies and regulations force us to have 2 set of database objects; for example :
Database A has CUSTOMERS table.
Database B has CUSTOMERS table.

After merging database A will have CUSTOMERS and CUSTOMERS_B (data from database B). I just wonder that is there any way that we don't need to change our script in forms and reports to point into a new table name but still can access to the data in the new table ( CUSTOMERS_B) not CUSTOMERS.
Thank you for any comment and suggestion. Ukrit K,

--=_alternative 0011CE3C48256D65_=
Content-Type: text/html; charset="us-ascii"

<br><font size=2 face="sans-serif">Hello,</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Sorry I might not give all the problem corectly. I need to access to both CUSTOMERS and also CUSTOMERS_B. Not just only one. If only one table, my head will not spin like this.</font>
<br><font size=2 face="sans-serif">^__^</font>
<br><font size=2 face="sans-serif">Ukrit K,</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>&quot;Arup Nanda&quot; &lt;orarup_at_hotmail.com&gt;</b></font>
<br><font size=1 face="sans-serif">Sent by: ml-errors_at_fatcity.com</font>
<p><font size=1 face="sans-serif">07/16/2003 11:59 AM</font>
<br><font size=1 face="sans-serif">Please respond to ORACLE-L</font>
<br>
<td><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; To: &nbsp; &nbsp; &nbsp; &nbsp;Multiple recipients of list ORACLE-L &lt;ORACLE-L_at_fatcity.com&gt;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cc: &nbsp; &nbsp; &nbsp; &nbsp;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Subject: &nbsp; &nbsp; &nbsp; &nbsp;Re: Transparent database objects after merging</font></table>
<br>
<br>
<br><font size=2 face="Arial">You can drop or rename CUSTOMERS to, say, CUSTOMERS_A, and then create synonym CUSTOMERS pointing to CUSTOMERS_B. Or rename CUSTOMERS_B to CUSTOMERS.</font>
<br><font size=3 face="Arial">&nbsp;</font>
<br><font size=2 face="Arial">HTH.</font>
<br><font size=3 face="Arial">&nbsp;</font>
<br><font size=2 face="Arial">Arup Nanda</font>
<br><font size=3 face="Arial">----- Original Message ----- </font>
<br><font size=3 face="Arial"><b>From:</b> </font><a href=mailto:Ukrit.Kuprasit_at_allianz.com.sg><font size=3 color=blue face="Arial"><u>Ukrit.Kuprasit_at_allianz.com.sg</u></font></a><font size=3 face="Arial"> </font>
<br><font size=3 face="Arial"><b>To:</b> </font><a href="mailto:ORACLE-L_at_fatcity.com"><font size=3 color=blue face="Arial"><u>Multiple recipients of list ORACLE-L</u></font></a><font size=3 face="Arial"> </font>
<br><font size=3 face="Arial"><b>Sent:</b> Tuesday, July 15, 2003 11:29 PM</font>
<br><font size=3 face="Arial"><b>Subject:</b> Transparent database objects after merging</font>
<br>
<br><font size=3 face="Times New Roman"><br>
Hello Gurus,</font><font size=3 face="Arial"> </font><font size=3 face="Times New Roman"><br>  &nbsp; &nbsp; &nbsp; &nbsp;I'm working merging 2 databases which have sane structure of &nbsp;database objects into one database. However, after merging, the business policies and regulations force us to have 2 set of database objects; for example : <br> Database A has CUSTOMERS table.</font><font size=3 face="Arial"> </font><font size=3 face="Times New Roman"><br> Database B has CUSTOMERS table.</font><font size=3 face="Arial"> <br>
</font><font size=3 face="Times New Roman"><br>
After merging database A will have CUSTOMERS and CUSTOMERS_B (data from database B). I just wonder that is there any way that we don't need to change our script in forms and reports to point into a new table name but still can access to the data in the new table ( CUSTOMERS_B) not CUSTOMERS.</font><font size=3 face="Arial"> </font><font size=3 face="Times New Roman"><br> Thank you for any comment and suggestion.</font><font size=3 face="Arial"> </font><font size=3 face="Times New Roman"><br> Ukrit K,</font><font size=3 face="Arial"> <br> Received on Tue Jul 15 2003 - 22:14:28 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US