Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!
  1.   Become a Supporter    ::   Make a Contribution   
    Target (Recurring Monthly): $200 :: Achieved: $98

Populating a DB with subset of another DB

Discussion in 'Information Technology' started by jimt, Jul 28, 2006.

  1. jimt

    Expand Collapse

    I have an Access 2000 that I would like to export/populate the data only
    periodically (probably weekly) into another DB that can be FTP to a web site.
    The "local" DB has about 110 tables while the "web" DB only has about 40
    tables of the 110 tables. The structure and data in tables for both DB will
    be the same. However, other than the tables, the Web DB does have some
    queries that are used to present data on the web site pages.

    I would like to create a form to call a procedure to "refresh" the data in
    the Web DB with the data from the Local DB. A copy of the Web DB may be
    stored on the local drive and then FTP to the host after the refresh. I need
    to automate the process as much as possible since the procedure will be
    performed by a town clerk with no significant computer experience.

    My question is what is the best way to "refresh" the Web DB data? Some
    possible senerios I have thought of are:

    1. Write a set of queries to clear the table in the web DB and then
    repopulate the data (this would mean about 40 queries.)

    2. Write code to dynamically clear and populate the tables via looping
    through the Web DB table objects.

    3. Create an additional DB to store the Web queries (I think at this point I
    want to keep the Web queries separate from the local DB although that's not a
    show stopper), "kill" the Web DB and export the table to new Web DB and then
    export the queries from the "stored queries) DB into the new Web DB.

    4. Not a choice I'm pursueing at the moment is to include the web queries in
    the local DB and simply FTP the local DB to the web as the Web DB. The
    advantage is it is simple (no additional work required) and provides a
    off-site back-up capability. The hesitation is security of the data in the
    tables not required in the Web version.

    5. _____??? your thoughts / suggestions on which or other methods that
    would be best for refreshing the data in the Web DB?

    Jim T.
Since you're here... we have a small favor to ask...

More people are visiting & reading SPN than ever but far fewer are paying to sustain it. Advertising revenues across the online media have fallen fast. So you can see why we need to ask for your help. Donating to SPN's is vote for free speech, for diversity of opinions, for the right of the people to stand up to religious bigotry. Without any affiliation to any organization, this constant struggle takes a lot of hard work to sustain as we entirely depend on the contributions of our esteemed writers/readers. We do it because we believe our perspective matters – because it might well be your perspective, too... Fund our efforts and together we can keep the world informed about the real Sikh Sikhi Sikhism. If everyone who writes or reads our content, who likes it, helps us to pay for it, our future would be much more secure. Every Contribution Matters, Contribute Generously!

    Become a Supporter      ::     Make a Contribution     

Share This Page