Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 13th, 2006, 08:53 AM
Authorized User
 
Join Date: Nov 2004
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default Multilanguage Data in Sql Server

Hi all,

           I need to save data in different languages mainly in English and Arabic. Can somebody help.

Any help will be highly appreciated.

                 tayyab
__________________
Tiyyob
 
Old June 13th, 2006, 09:27 AM
Friend of Wrox
 
Join Date: May 2006
Posts: 246
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Create two fields. One varchar and one nvarchar.
Store English in varchar and arabic in nvarchar.

Select appropiate column when needed.

 
Old June 14th, 2006, 12:26 AM
Authorized User
 
Join Date: Nov 2004
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Great suggestion pal. but it didn't worked.

anyways, i got solution for my problem from help of sql. i am putting it, it might be help ful for any one.

when you set datatype of a field as varchar or nvarchar. you get a property in the bottom grid for properties named "COLLATION".

this property can be used for strong data in different languages.

                                     tayyab
 
Old June 14th, 2006, 01:51 PM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 385
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am not an expert in this subject area but I think you can set the language at the "table" level, not the "field" level. So I believe you need to use two different tables.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Import data from sql server using biztalk server kaushalparik Biztalk 0 July 22nd, 2008 06:16 AM
Not able to retrieve data from SQL Server abhishekkashyap27 C# 2005 1 February 11th, 2008 09:19 AM
XML from SQL Server data spinout XML 5 September 25th, 2004 05:18 AM
SQL Server data types spinout SQL Server 2000 5 September 23rd, 2004 02:27 AM
How Can I Use Arrays with SQL Server Data? Lucy SQL Server ASP 4 June 14th, 2004 01:20 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.