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. General Programming
  3. C#
  4. Description gets truncated on server :confused:

Description gets truncated on server :confused:

Scheduled Pinned Locked Moved C#
databasecsharpsql-servercomsysadmin
4 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.
  • J Offline
    J Offline
    Jax_qqq
    wrote on last edited by
    #1

    I m working on a c# and sql server based application... I m fetching data from csv file and saving it's record One by one in to the database. there is a column colled Description in my csv file as well as Sql server table. In Sql i have given the data type "text" for the description column... And it's working fine on my local machine but on server description gets truncated... I have checked the csv file There is no comma in description Everything is same StoredProcedure...DLLs... I m not getting this... :confused: If any one has any idea abt this pls help me out... thanx & regards Anuj Kamthan Software Developer Solversa Technologies, Pune - 411007, India. http://www.solversa.com

    A G 2 Replies Last reply
    0
    • J Jax_qqq

      I m working on a c# and sql server based application... I m fetching data from csv file and saving it's record One by one in to the database. there is a column colled Description in my csv file as well as Sql server table. In Sql i have given the data type "text" for the description column... And it's working fine on my local machine but on server description gets truncated... I have checked the csv file There is no comma in description Everything is same StoredProcedure...DLLs... I m not getting this... :confused: If any one has any idea abt this pls help me out... thanx & regards Anuj Kamthan Software Developer Solversa Technologies, Pune - 411007, India. http://www.solversa.com

      A Offline
      A Offline
      albCode
      wrote on last edited by
      #2

      Try to change column type of Description from text to varchar(255)//varchar (increase by yourself) _____________________ Proud to be Albanian _____________________

      J 1 Reply Last reply
      0
      • A albCode

        Try to change column type of Description from text to varchar(255)//varchar (increase by yourself) _____________________ Proud to be Albanian _____________________

        J Offline
        J Offline
        Jax_qqq
        wrote on last edited by
        #3

        Nop Body, I have tried this also... Same result working fine on local machine but not on server. Anuj Kamthan Software Developer Solversa Technologies, Pune - 411007, India. http://www.solversa.com

        1 Reply Last reply
        0
        • J Jax_qqq

          I m working on a c# and sql server based application... I m fetching data from csv file and saving it's record One by one in to the database. there is a column colled Description in my csv file as well as Sql server table. In Sql i have given the data type "text" for the description column... And it's working fine on my local machine but on server description gets truncated... I have checked the csv file There is no comma in description Everything is same StoredProcedure...DLLs... I m not getting this... :confused: If any one has any idea abt this pls help me out... thanx & regards Anuj Kamthan Software Developer Solversa Technologies, Pune - 411007, India. http://www.solversa.com

          G Offline
          G Offline
          Guffa
          wrote on last edited by
          #4

          How did you come to the conclusion that the data gets truncated? Did you check the data in the database, and if so, what program did you use? --- b { font-weight: normal; }

          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