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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T20:20:11+00:00 2026-06-01T20:20:11+00:00

In my My-SQL database, I have an article table (with columns article_id, article_name &

  • 0

In my My-SQL database, I have an article table (with columns article_id, article_name & highlight(need to be discussed in this question)). This column named “Highlight” defines the highlight of an article. I need to store this column in different languages.

1) One way is .. I will take four columns in the same table. Saying Hightlight_en, Highlight_german, Highlight_french and so on.

2) Other way is I will create different Highlight table for each Language.

Please suggest which way I should go for as per a good database design. Your ideas are also welcome.

One More thing..Do I need to do some extra thing in java for storing MultiLingual data (ANY UTF-8 setting). Please let me know.

  • 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-06-01T20:20:13+00:00Added an answer on June 1, 2026 at 8:20 pm

    I recommend against using either of these methods you described. Instead, create a single highlight table with 3 columns:

    CREATE TABLE highlight 
    (
      article_id INT NOT NULL,
      language VARCHAR(),
      highlight_text VARCHAR() CHARACTER SET utf8,
      PRIMARY KEY (article_id, language),
      FOREIGN KEY (article_id) REFERENCES articles (article_id)
    )
    

    Each row links to an article by article_id, and contains a language version and the relevant text. This allows you to add as many languages as you ever need to, and it doesn’t matter if one is missing for an article – it simply doesn’t appear in the table. It also allows you to use entirely different language sets per article if it ever becomes necessary.

    Values then look like:

    2  en  The English text for article 2
    2  dr  The French text for article 2
    2  de  The German text for article 2
    3  en  The English text for article 3
    3  dr  The French text for article 3
    3  de  The German text for article 3
    3  sw  Oh wait, article 3 also needed Swahili text!
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Database (SQL Server) with table named 'ProcessData' and columns named 'Process_Name'
I have my date values in postdate column in articles table in sql database
I have an SQL table Tasks with columns Id and State . I need
I have a table ContentHistory in a SQL Server 2008 database with a column
I have a SQL database that has a table with a field set to
I have a SQL database that has the following table: Table: PhoneRecords -------------- ID(identity
In our inventory database (SQL Server 2008 std edition) we have a table (called
I have lots of article store in MS SQL server 2005 database in a
I have File-Stream enabled database. I have created table with column that has the
I have sql database stored on a shared netwrok drive , after set of

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.