Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The biggest concern I would have is that all your code will need to be rewritten to account for the new database and schemas. Or at least looked at. This courl introduce new bugs. I don't know how Oracle handles refernces to different databases, so I'll use an example of what I mean using SQL Server syntax. If I was joining to two tables onthe same server in different databases my select would be something like this:</p> <p>SELECT a.field1, b.field2 FROM database1.dbo.table1 a JOIN database2.dbo.table2 b ON a.myid = b.myFK</p> <p>To go your your new consolidated idea, you would want to write:</p> <p>SELECT a.field1, b.field2 FROM schema1.table1 a JOIN schema2.table2 b ON a.myid = b.myFK</p> <p>You will need to be especially careful of any tables that have the same name in both databases now, this could cause some sneaky bugs.</p> <p>Note these are not difficult changes but all SQL hitting your database would have to be examined to see if it will work or adjusted if not.</p> <p>I'm not sure if just putting them in the same database would do it either. You might need to consolidate some tables to avoid the duplication across applications. (In this case add fields to reference the old id numbers for things people are used to looking up by id like person_id that may appear on old paperwork, so they can be researched) This is a fairly major rewrite with all the attendant possibilites to make things worse due to new bugs.</p> <p>If you go down this path, I highly recommend that you read a book on refactoring datbases before you decide how to design. </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload