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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. BIG TROUBLE WITH STORING DATA INTO SQL SERVER 7.0,IN VB.NET

BIG TROUBLE WITH STORING DATA INTO SQL SERVER 7.0,IN VB.NET

Scheduled Pinned Locked Moved Visual Basic
databasecsharpsql-serversysadmin
3 Posts 3 Posters 1 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.
  • A Offline
    A Offline
    ajay bharti
    wrote on last edited by
    #1

    hi all, i m working on a vb.net project. i have used SQL SERVER 7.0 as backend.To save an information into database i used varchar datatype that has 8000 length, i m in trouble coz a particular data field has more than 50000 char. how to save this field into data base. what should i do???? Please suggest me any logic to storing it. hi this ajay bharti

    S B 2 Replies Last reply
    0
    • A ajay bharti

      hi all, i m working on a vb.net project. i have used SQL SERVER 7.0 as backend.To save an information into database i used varchar datatype that has 8000 length, i m in trouble coz a particular data field has more than 50000 char. how to save this field into data base. what should i do???? Please suggest me any logic to storing it. hi this ajay bharti

      S Offline
      S Offline
      Steve Pullan
      wrote on last edited by
      #2

      Try using a datatype of TEXT. Read up on it in the MSDN online help. ...Steve

      1 Reply Last reply
      0
      • A ajay bharti

        hi all, i m working on a vb.net project. i have used SQL SERVER 7.0 as backend.To save an information into database i used varchar datatype that has 8000 length, i m in trouble coz a particular data field has more than 50000 char. how to save this field into data base. what should i do???? Please suggest me any logic to storing it. hi this ajay bharti

        B Offline
        B Offline
        Briga
        wrote on last edited by
        #3

        Three options. 1) You chamge the datatype in something else (i.e. a text) or if you can't 2) You split the data into 7 fields each 8000 char or if you can't 3) You store your data in a different position (i.e. a file or another DB) and you put in your fied a reference to that information or.... 4) ..I don't know!

        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