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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T05:04:30+00:00 2026-05-26T05:04:30+00:00

I have a table with contacts and another one with message. In the message

  • 0

I have a table with contacts and another one with message. In the message table I have a cell where I keep a serialized string of IDs of those members that the message was sent to.

Now, I am going to append a unique identifier token and when a member responds I’ll be able to track which member it is. Shall I store this info in a separate table, or add another cell to message tables, which can also hold a string of responded members?

Logic tells me that a separate table would be easier, but at the same time it can grow pretty fast as there could be multiple groups of recipients of messages, and each can have multiple messages, which will translate into multiple rows, as opposed to a single cell with a serialized string.

  • 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-26T05:04:31+00:00Added an answer on May 26, 2026 at 5:04 am

    I think the conventional approach would be to have join tables. So if you have a Contacts table and a Messages table, you could create a ContactMessagesSent table, which has the primary keys of both Contacts and Messages as columns, to keep track of which messages were sent to which contacts. You could create another join table ContactMessagesReceived to track responses.

    So

    ContactMessagesSent
    --------
    contact_id ; // primary key of Contacts
    message_id ; // primary key of Messages
    ...
    

    If you use proper indexing, it will perform well even if there are lots of rows in the table.

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

Sidebar

Related Questions

What I have is a two tables. One table with users and another table
I have a table called SecurityContacts and another table called Contacts. The association between
I have a table for a contact form and this table contains another table
I have a table of contacts and a table of postcode data. I need
I have a contacts table which contains fields such as postcode , first name
Here's my case: I have a table view showing contacts. Add button in the
I have a table with a column that I want to extract out and
Alright. So I have a table called contacts. In this table I have people
I have a database with a table for details of ponies, another for details
I have a table in MySQL of contact information ; first name , last

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.