Re: looks like one database from the outside, but it's two inside



This sounds like a good idea. I guess I just don't know enough about
databases yet to know how to do this linking. Mostly I just know
about how to get DBI to interact with MySQL.

I should mention that I'd also like to be able to make some rules in
the "real" database temporarily disappear while testing, but I fear
this will make things even more complicated.

On 7/19/07, Sven Miller <ngdvakigyotuia@xxxxxxxxx> wrote:
I would consider setting up the test database to consist of a database
link to the "real" database, along with views for all the tables.
Then on those tables where I wanted to interject some data, I would
create test-data tables and alter the views to merge the data.

Then switching from "test" to "real" is a matter of changing where you
connect to. Alternately, you could change the views to only
incorporate test-data if a certain flag is set in yet another test
table.

.



Relevant Pages

  • Re: looks like one database from the outside, but its two inside
    ... And unfortunately I don't know enough about MySQL to be more helpful. ... Database links may be an Oracle-only thing. ... > incorporate test-data if a certain flag is set in yet another test ...
    (perl.dbi.users)
  • Re: dual combo box
    ... store both values in the respective fields of this record; ... What you say is more "Database Correct", ... >able to access the value of the second column by linking ...
    (microsoft.public.access.forms)
  • Re: Rolling Up 3 Separate Tables
    ... relationships that you are going to database. ... This Department/Organization underneath the following Department/Agency ... of linking, the real linking is record to record, and the real work of ... to look at your publications table. ...
    (microsoft.public.access.tablesdbdesign)
  • Re: DB Self-destructed!
    ... I wasn't linking to anything. ... Quite some while back I'd imported an old DOS based database in ASCII tab ... I make a backup copy prior to every major ...
    (comp.databases.ms-access)
  • RE: Event tracking design question
    ... More to the point, in the book Database Design for Mere Mortals, Hernandez ... states that "The linking table help to keep redundant data to an absolute ... It would have no meaning in any other table. ... Again quoting Hernandez, "When you establish a many-to-many relationship ...
    (microsoft.public.access.tablesdbdesign)