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

  • SEARCH
  • Home
  • 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 6960207
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T15:22:20+00:00 2026-05-27T15:22:20+00:00

i have a dilema regarding my database design for my car system (my dad

  • 0

i have a dilema regarding my database design for my car system (my dad own a dealership and i want to build him a new system where the user can schedule test drives, apptointmen etc…)

i am undecide between these 2 models:

table car
 id int, model_id int, make_id int, price float, year year, millage int, etc...

or

table car
 id int, model enum, make enum, price float, year year, millage intetc...

customer table with (id int, name varchar, phone int, street varchar, city etc…

salemen table with (id int, name varchar, etc…

schedule table (id int, appt_Date datetime, car_id, customer_id, salemen_id)

now my question is this:

should I use enum fields or should i have a table for each enum fields? i dont want to redesign the system once it is use by everyone and start all over again.

thanks

  • 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-27T15:22:22+00:00Added an answer on May 27, 2026 at 3:22 pm

    I would stay away from ENUMs for one main reason. If you want to add new items, you have to ALTER the table. Which can be painful if you have tons of data. Also, depending the collation and the character set you use, you have be careful with case sensitivity.

    Read this article for more info: 8 Reasons Why MySQL’s ENUM Data Type Is Evil.

    Now using a reference data/table using a foreign key is preferable because you can have a data integrity rule. You can build a simple tool to manage these data (make or model) without altering or changing any database schema.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a dilema, I want to present to the user a semi-transparent view.
Hello everyone I have an objective-c dilema :P I am quite new to objective-c,
I have got a designing dilema. I have a class named UserAccount that represent
I have a bit of a dilemma here. I have a drupal 7 database
I have the following dilema: My clients (mom-n-pop pawnshops) have been using my mgmt.
My dilema is this: i have a truck load of photos to insert in
here's my dilema. I have for example this string: 1 2 3 4 5
One common dilemma I have faced throughout programming is regarding declaring variables inside a
I have a dilema and wonder what is business best practice. I'm using Uploadify
I have a slight dilema. This isn't general to backbone.js but it's certainly causing

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.