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 738475
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T07:50:26+00:00 2026-05-14T07:50:26+00:00

Currently I store the user’s FirstName and LastName in the USER table, but i

  • 0

Currently I store the user’s “FirstName” and “LastName” in the USER table, but i also have a USER PROFILE table (which provides additional information about the user) and it would makes sense to have the user’s “FirstName” and “LastName” in the USER PROFILE table aswell.

So what do i do? make two copies of “FirstName” and “LastName”?


USER table, contains the user’s credentials that the user use to login to his account control panel ie Username, password, registration date, security questions, etc

USER_PROFILE table, contains information about the user, such as Address, Phone Number, country of birth, country of citizenship etc

Relationship

USER 1.* USER_PROFILE

  • 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-14T07:50:27+00:00Added an answer on May 14, 2026 at 7:50 am

    Put the first name and last name in with the user profile unless they are needed as part of the login procedure. That way there is less data to process, and they belong there more than with account information. Only leave them with login data if they are needed and it will speed up the querying.

    As others have said, don’t duplicate the data. You can just join the tables when you need it. You should have a primary key on your user table (preferably not the username, they can change) which is referenced from the user profile table. If you don’t, add one now before you even think about doing anything else.

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

Sidebar

Related Questions

My current app needs to store address information for a user. I'm currently debating
I am currently working on a project that will store specific financial information about
We have a current application where user login credentials are stored in a SQL
I wanting to show prices for my products in my online store. I'm currently
In our app, we currently live with the legacy of a decision to store
I have a database with DateTime fields that are currently stored in local time.
I have a stored procedure currently executing a complicated fetch that is frequently timing
In Joomla 1.0, the current User object was stored in a global variable called
Currently all our files are stored on a Windows network drive and with 15
I currently work with an Oracle database and we use stored procedures for all

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.