Solved

SQL Server - Multi-diminsions on a column value?

Posted on 2014-02-22
1
194 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
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Upgrading my SSIS package in VS 2012 6 59
sql 2016 Integration Service connecting to 2012 3 31
SQL Server / Update DB? 22 36
SQL create line numbers for data sampling 11 27
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…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

856 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