Solved

SQL Server - Multi-diminsions on a column value?

Posted on 2014-02-22
1
196 Views
Last Modified: 2014-02-27
Is there an easy way for SQL Server to manage multiple dimensions of a column value like languge?  For example; if I wanted to maintain 27 different languages of a table column called "Product Description" is the only solution to create one column for each language?  What is the best solution for this?  

ProductDescription-English    varchar(max)
ProductDescription-French    varchar(max)
ProductDescription-German    varchar(max)
ProductDescription-Spanish    varchar(max)
.
.
0
Comment
Question by:hojohappy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 34

Accepted Solution

by:
Brian Crowe earned 500 total points
ID: 39880270
typically I would recommend creating a separate product entry for each language since there are likely to be other values that will vary by locale like currency.

For general localization issues I would create a table called String and store the descriptions in there and then establish a foreign key relationship from the product table to the string table.

CREATE TABLE String
(
   StringID INT IDENTITY(1,1),
   Text NVARCHAR(MAX),
   LanguageID INT  --foreign key reference to a
)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question