Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5846031
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T12:31:09+00:00 2026-05-22T12:31:09+00:00

I am creating a database of structures that can be of different types. Each

  • 0

I am creating a database of structures that can be of different types. Each of the types has a set of unique attributes such as the materials, shape, properties related specifically to the type of structure.

For instance, a structure is a bridge which can have a span length and material type for the deck.

Another instance of a structure would be a wall which has a height and material type and thickness.

I do not want to generate a flat table that contains all possible attributes as there are many types of structures that could exist and the attributes are flexible and there are numerous attributes to store.

Basically we want to prevent records from getting too large by storing unique attribute data in a separate table for each type of structure but I can’t think of a way to link the generic structure table to point to the attribute tables easily.

====================
EDIT,

Now that searched for “generalization specialization relational modeling” it appears that I want to model the data as a object oriented structure with a parent class “structure” that has child classes that inherit the common information as bridge structure, wall structure. The only issue now is that I am trying to help a engineer make a simple stand alone Access 2010 database but it appears that I am correctly generating the relationships within access with the primary key of the parent class being the primary and foreign key of the child classes. This appears to cause an issue inside Access 2010 where it wants instances of the parent to contain one of each child class which is non-sense.

Basically I have,

StructureID as the primary key on both structure, bridge, and wall tables on the bridge and wall table their primary key which is the structureID links back to the structure table. I am not too familiar with Access 2010 and don’t know why it doesnt work.

From one of the IBM papers,

"Figure 8. Mapping all classes of the extended hierarchy to data entities"

Basically want to make this in an Access 2010.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T12:31:10+00:00Added an answer on May 22, 2026 at 12:31 pm

    I suggest trying to split the structures into separate tables as much as you can.
    You can also have a master table with all the structures and their common properties.

    Another approach is to have xml type column, which can be as flexible as any xml or you can apply schema to enforce data integrity.

    You basically need to balance between those two options.

    Database design also depends on your DBMS capabilities. For example, not all databases support XML types.

    [Edit]

    The table structure could be like this:

    Structure

    • Id – auto-generated PK
    • Name
    • Type
    • Color

    Bridge

    • Id
    • StructreId references Structure(Id)
    • Length
    • MaterialType

    Wall

    • Id
    • StructreId references Structure(Id)
    • Height
    • Thikness
    • MaterialType
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

What are the best practices around creating flat file database structures in PHP? A
Suppose you are implementing a publication database and creating migrations to represent different publications.
When creating a database structure, what are good guidelines to follow or good ways
We currently deploy web applications by creating a database and running SQL scripts through
I'm tired of opening Dia and creating a database diagram at the beginning of
I would like to learn the best practices to employ when creating a database
I am creating a mock database for import export tests (of the algorithm reading
When I am creating a new database table, what factors should I take into
Using DTS I'm dynamically creating an access database. After the file is created (which
I'm creating an AIR application which connects to a SQLite database. The database balks

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.