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. question

question

Scheduled Pinned Locked Moved Database
questioncsharpdatabasesql-serversysadmin
2 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.
  • E Offline
    E Offline
    eyalso
    wrote on last edited by
    #1

    hi i want to insert data into sql server (in C#) one of the attributes (Article) id define as varchar (size 8000 - the MAX) i want to insert into Article string lets call the variable S (size lower then 8000 and higher than 1000) but its doesnt work, but if S is define in size 100 its working . if somebody knows what is the problem i will be glad if he will explain to me . eyalso

    C 1 Reply Last reply
    0
    • E eyalso

      hi i want to insert data into sql server (in C#) one of the attributes (Article) id define as varchar (size 8000 - the MAX) i want to insert into Article string lets call the variable S (size lower then 8000 and higher than 1000) but its doesnt work, but if S is define in size 100 its working . if somebody knows what is the problem i will be glad if he will explain to me . eyalso

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      e_s wrote:

      if somebody knows what is the problem

      What is the error message? You can create a row with a number of columns that, in total, excede the maximum row size (8006 bytes, if I remember correctly). You will get a warning when you create such a table structure. It is possible that with the other data in the row something has to give.


      My: Blog | Photos "Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucious

      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