Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Sql queries on unicode data [modified]

Sql queries on unicode data [modified]

Scheduled Pinned Locked Moved Database
database
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    shiva kore
    wrote on last edited by
    #1

    hi, i have created database with some fields containing nvarchar data. updated data in unicode kannda language text. I am writing queries like :- select * from table where district='UÀÄ®âUÁð'.It will not retriewing any rows. command executed success. Thanks ************ S G KORE ******************* -- Modified Saturday, September 18, 2010 3:26 AM

    R 1 Reply Last reply
    0
    • S shiva kore

      hi, i have created database with some fields containing nvarchar data. updated data in unicode kannda language text. I am writing queries like :- select * from table where district='UÀÄ®âUÁð'.It will not retriewing any rows. command executed success. Thanks ************ S G KORE ******************* -- Modified Saturday, September 18, 2010 3:26 AM

      R Offline
      R Offline
      Rob Smiley
      wrote on last edited by
      #2

      try: select * from table where district=N'UÀÄ®âUÁð' nvarchar and ntext types require the N prefix before the opening quote when you're searching for unicode text.

      "An eye for an eye only ends up making the whole world blind"

      S 1 Reply Last reply
      0
      • R Rob Smiley

        try: select * from table where district=N'UÀÄ®âUÁð' nvarchar and ntext types require the N prefix before the opening quote when you're searching for unicode text.

        "An eye for an eye only ends up making the whole world blind"

        S Offline
        S Offline
        shiva kore
        wrote on last edited by
        #3

        Thank you Rob Smiley. Its working ************ S G KORE *******************

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups