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. String or binary data would be truncated.

String or binary data would be truncated.

Scheduled Pinned Locked Moved Database
databasesql-serversysadminquestion
5 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.
  • V Offline
    V Offline
    vJay Yadav
    wrote on last edited by
    #1

    When and why this kind of exception occurs ? If it occurs then why the SQL Server dont show the column name to which this exception belongs ?

    M Richard DeemingR 2 Replies Last reply
    0
    • V vJay Yadav

      When and why this kind of exception occurs ? If it occurs then why the SQL Server dont show the column name to which this exception belongs ?

      M Offline
      M Offline
      Mycroft Holmes
      wrote on last edited by
      #2

      Vijay G. Yadav wrote:

      why the SQL Server dont show the column name to which this exception belongs

      Because SQL server is a PITA with this error. I have yet to find a simple way to debug this error, rabbiting through all the text fields and checking the length is just irritating.

      Never underestimate the power of human stupidity RAH

      V 1 Reply Last reply
      0
      • V vJay Yadav

        When and why this kind of exception occurs ? If it occurs then why the SQL Server dont show the column name to which this exception belongs ?

        Richard DeemingR Offline
        Richard DeemingR Offline
        Richard Deeming
        wrote on last edited by
        #3

        Vijay G. Yadav wrote:

        why the SQL Server dont show the column name to which this exception belongs ?

        Good question. There's a suggestion to fix this on Connect[^], which has been open since 2008. So far, Microsoft have not responded. :sigh:


        "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

        "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

        V 1 Reply Last reply
        0
        • M Mycroft Holmes

          Vijay G. Yadav wrote:

          why the SQL Server dont show the column name to which this exception belongs

          Because SQL server is a PITA with this error. I have yet to find a simple way to debug this error, rabbiting through all the text fields and checking the length is just irritating.

          Never underestimate the power of human stupidity RAH

          V Offline
          V Offline
          vJay Yadav
          wrote on last edited by
          #4

          Ha Ha Ha .... Thank you ;P ;P ;P

          1 Reply Last reply
          0
          • Richard DeemingR Richard Deeming

            Vijay G. Yadav wrote:

            why the SQL Server dont show the column name to which this exception belongs ?

            Good question. There's a suggestion to fix this on Connect[^], which has been open since 2008. So far, Microsoft have not responded. :sigh:


            "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

            V Offline
            V Offline
            vJay Yadav
            wrote on last edited by
            #5

            Thank you

            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