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. All character from column not getting! Any setting should i change?

All character from column not getting! Any setting should i change?

Scheduled Pinned Locked Moved Database
helpdatabasexmlquestion
3 Posts 3 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.
  • U Offline
    U Offline
    under2811
    wrote on last edited by
    #1

    Hello friends, I got some problem... I have table like CREATE TABLE publishers ( Name char(4) NOT NULL, ID varchar(40) NULL, City varchar(20) NULL, State char(2) NULL, Comments varchar(3000) NOT NULL ) I have some store procedure which put xml files and put that into this sql table, now problem i am facing here is that all the character from comments column i am not getting , I already increase the width of that column from varchar(1000 ) to varchar(3000) Two days before i am getting well results i.e. all the character from this perticular field(comments) and seeing that result, character in that field was just 800 to 850 approx.But now why I am getting like that??? One thing is sure the character which is coming from XML file is not more than 850.Then is there any setting should i change or by mistake changed?? Please Help me out! T.I.A Shashank

    C M 2 Replies Last reply
    0
    • U under2811

      Hello friends, I got some problem... I have table like CREATE TABLE publishers ( Name char(4) NOT NULL, ID varchar(40) NULL, City varchar(20) NULL, State char(2) NULL, Comments varchar(3000) NOT NULL ) I have some store procedure which put xml files and put that into this sql table, now problem i am facing here is that all the character from comments column i am not getting , I already increase the width of that column from varchar(1000 ) to varchar(3000) Two days before i am getting well results i.e. all the character from this perticular field(comments) and seeing that result, character in that field was just 800 to 850 approx.But now why I am getting like that??? One thing is sure the character which is coming from XML file is not more than 850.Then is there any setting should i change or by mistake changed?? Please Help me out! T.I.A Shashank

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Try nvarchar instead of varchar. Christian Graus - Microsoft MVP - C++

      1 Reply Last reply
      0
      • U under2811

        Hello friends, I got some problem... I have table like CREATE TABLE publishers ( Name char(4) NOT NULL, ID varchar(40) NULL, City varchar(20) NULL, State char(2) NULL, Comments varchar(3000) NOT NULL ) I have some store procedure which put xml files and put that into this sql table, now problem i am facing here is that all the character from comments column i am not getting , I already increase the width of that column from varchar(1000 ) to varchar(3000) Two days before i am getting well results i.e. all the character from this perticular field(comments) and seeing that result, character in that field was just 800 to 850 approx.But now why I am getting like that??? One thing is sure the character which is coming from XML file is not more than 850.Then is there any setting should i change or by mistake changed?? Please Help me out! T.I.A Shashank

        M Offline
        M Offline
        Mattias Olgerfelt
        wrote on last edited by
        #3

        check the prameters for the procedure.. they has to be the same as for the table... /M

        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