473,394 Members | 1,742 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

On Linking Databases

Asking for advise on the following.

Suppose you want to build a database for handling some of your personal
collections say for instance, your music collection, and your pictures
collection.

During conceptual modeling, you realise that there are three distinct
submodels in this design. One for the musical entities (albums and tracks),
one for the pictures, and one for the optical media and the packages that
you use to archive this collection.

Lets name them: subDB 1: Music
subDB2: Pictures
subDB3: Optical Storage

I see three ways of working over this

1: Create a larger database MyCollection.db that contains all 3 submodels
2: Create 2 databases Music.db and Pictures.db each of which contains the
Optical Storage submodel.

3: Create 3 databases Music.db, Pictures.db and OpticalStorage.db where
Music.db is linked with OpticalStorage.db and so is the Pictures.db

Which do you consider the most practical, versatile, error-free etc etc
option?

Regards,

Konstantinos
Nov 13 '05 #1
4 1605
Konstantinos wrote:
Asking for advise on the following.

Suppose you want to build a database for handling some of your personal
collections say for instance, your music collection, and your pictures
collection.

During conceptual modeling, you realise that there are three distinct
submodels in this design. One for the musical entities (albums and tracks),
one for the pictures, and one for the optical media and the packages that
you use to archive this collection.

Lets name them: subDB 1: Music
subDB2: Pictures
subDB3: Optical Storage

I see three ways of working over this

1: Create a larger database MyCollection.db that contains all 3 submodels
2: Create 2 databases Music.db and Pictures.db each of which contains the
Optical Storage submodel.

3: Create 3 databases Music.db, Pictures.db and OpticalStorage.db where
Music.db is linked with OpticalStorage.db and so is the Pictures.db

Which do you consider the most practical, versatile, error-free etc etc
option?

Regards,

Konstantinos


I would say it depends on what data you want to store about the fields.
For example, music may have artist, Album, song, lengthofsong, genre,
etc. A picture may have a subject, and genre (sunsets, work,
portraits). There isn't much to link the two together. So I'd have 2
tables in this case.

You could create a table that holds a type like "M" for music and "P"
for photos and then link off that to separtate tables for each type of
collection.

I think you'd be better off having a table for each type of
collection...unless the field data is mostly the same amoungst all
collections.
Nov 13 '05 #2
Thanks for your comments but I dont think you understood it well, or maybe I
explained it poorly.
Music Collection and Picture Collection are both complete databases, each
with its own tables and relationships.
A subset of their tables and relations, however, is common, and that is the
one that has to do with the optical media (cds and dvds) that hold these
collections.
So, I was wondering if I could
Create 3 databases Music.db, Pictures.db and OpticalStorage.db where
Music.db is linked with OpticalStorage.db and so is the Pictures.db

I havnt worked with linked dbs before, so I am not sure this is possible.

Regards,

Konstantinos

"Salad" <oi*@vinegar.com> wrote in message
news:_J***************@newsread3.news.pas.earthlin k.net...
Konstantinos wrote:
Asking for advise on the following.

Suppose you want to build a database for handling some of your personal
collections say for instance, your music collection, and your pictures
collection.

During conceptual modeling, you realise that there are three distinct
submodels in this design. One for the musical entities (albums and
tracks), one for the pictures, and one for the optical media and the
packages that you use to archive this collection.

Lets name them: subDB 1: Music
subDB2: Pictures
subDB3: Optical Storage

I see three ways of working over this

1: Create a larger database MyCollection.db that contains all 3 submodels
2: Create 2 databases Music.db and Pictures.db each of which contains the
Optical Storage submodel.

3: Create 3 databases Music.db, Pictures.db and OpticalStorage.db where
Music.db is linked with OpticalStorage.db and so is the Pictures.db

Which do you consider the most practical, versatile, error-free etc etc
option?

Regards,

Konstantinos


I would say it depends on what data you want to store about the fields.
For example, music may have artist, Album, song, lengthofsong, genre, etc.
A picture may have a subject, and genre (sunsets, work, portraits). There
isn't much to link the two together. So I'd have 2 tables in this case.

You could create a table that holds a type like "M" for music and "P" for
photos and then link off that to separtate tables for each type of
collection.

I think you'd be better off having a table for each type of
collection...unless the field data is mostly the same amoungst all
collections.

Nov 13 '05 #3
Konstantinos wrote:
Asking for advise on the following.

Suppose you want to build a database for handling some of your
personal collections say for instance, your music collection, and
your pictures collection.

During conceptual modeling, you realise that there are three distinct
submodels in this design. One for the musical entities (albums and
tracks), one for the pictures, and one for the optical media and the
packages that you use to archive this collection.

Lets name them: subDB 1: Music
subDB2: Pictures
subDB3: Optical Storage

I see three ways of working over this

1: Create a larger database MyCollection.db that contains all 3
submodels 2: Create 2 databases Music.db and Pictures.db each of
which contains the Optical Storage submodel.

3: Create 3 databases Music.db, Pictures.db and OpticalStorage.db
where Music.db is linked with OpticalStorage.db and so is the
Pictures.db

Which do you consider the most practical, versatile, error-free etc
etc option?

Regards,

Konstantinos


If you need to maintain RI between Music & Optical Storage and Pictures &
Optical Storage then I don't think they can be separate. So maybe option 2
would be better. Or option 1 and split it.
Nov 13 '05 #4
BTW I spent over an hour yesterday reading an excellent thread on RI via
Google Groups. 115 posts but recommended.

http://makeashorterlink.com/?D422213A9 (leads to Google Groups archive
posting).
Nov 13 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: John South | last post by:
I have an Access 2000 front end that I wish to work with a SQL Server 2000 database by means of Linked tables. Do I have to use an ODBC connection to SQL Server? It seems to be the only option...
5
by: Arvin Portlock | last post by:
I can't come up with a query that works. Can anyone help? Conceptually the relationships are easy to describe. I have a table for books (Entries), a table for authors (Authors), and a linking...
0
by: gasturbtec | last post by:
please help im new at access programming and i just got this project dropped in my lap because the old programmer quit. i've been doing ok so far but now i need to add code to an existing database...
1
by: Daveyk0 | last post by:
Hello there, I have a front end database that I have recently made very many changes to to allow off-line use. I keep copies of the databases on my hard drive and link to them rather than the...
2
by: cmd | last post by:
I use a utility database and the following code to link from an original backend to a temporary backend, in order to replace the original with a newer version: Dim dbs As Database Dim tdf As...
4
by: steve i | last post by:
Greetings; I have a project in which the client would like the database shared within an office enviornment, it is networked. My thinking is to create two databases, one with the data tables only...
1
by: lochmant | last post by:
I have a series of about 10 test databases with about 34 linked table each. I need to create an Access 2003 database front end for each of these. I am currently trying to write a script that will...
7
by: Salad | last post by:
I am converting an application from A97 to A2003. I have 2 tables created by another application as a Foxpro.dbf. The table has no index. The connect string in A97 is FoxPro...
1
by: agarwasa2008 | last post by:
Hi, I have a perfect file called "Products.xls" that I link to my MS Access 2003 database and everytthing looks good in that file. When I view the same file after linking in my database the...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.