943,106 Members | Top Members by Rank

Ad:
  • MS SQL Discussion Thread
  • Unsolved
  • Views: 1480
  • MS SQL RSS
Feb 5th, 2010
0

Hindi text in nText column SQL Server 2005

Expand Post »
We are using SQL Server 2005, and saving Hindi, English, Japaneese, Chiness languages in nText column.
This all we are doing using google analytical. However, we don't know how to know which value is Hindi or Englsh as they are encoded.

Please suggest how to write a query to know the count for all the rows having Hindi text.

Pawan Garg
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
pawangargmit is offline Offline
1 posts
since Feb 2010
Feb 8th, 2010
0
Re: Hindi text in nText column SQL Server 2005
UNICODE .
Returns the integer value, as defined by the Unicode standard, for the first character of the input expression.

MS SQL Syntax (Toggle Plain Text)
  1. SELECT
  2. UNICODE(SUBSTRING(colName, 1, 1))
  3. FROM TABLENAME
Moderator
Reputation Points: 2136
Solved Threads: 1228
Posting Genius
adatapost is offline Offline
6,524 posts
since Oct 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in MS SQL Forum Timeline: Set a counting for number of field base on a specific common data in a certain field
Next Thread in MS SQL Forum Timeline: how to pass column name as parameter





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC