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. Database & SysAdmin
  3. Database
  4. How do i store an array of 500 in an db

How do i store an array of 500 in an db

Scheduled Pinned Locked Moved Database
databasedata-structuresquestion
3 Posts 3 Posters 2 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.
  • R Offline
    R Offline
    rikkemus
    wrote on last edited by
    #1

    Im making an access db, that is accessed through my VB 6.0 software. How would a clever way be to store this array in my database without making 500 rows in the table for it. Its 500 double values from a testsystem, that is used to draw a curve.

    Y 1 Reply Last reply
    0
    • R rikkemus

      Im making an access db, that is accessed through my VB 6.0 software. How would a clever way be to store this array in my database without making 500 rows in the table for it. Its 500 double values from a testsystem, that is used to draw a curve.

      Y Offline
      Y Offline
      Yulianto
      wrote on last edited by
      #2

      Save the array seperated by ",", like "array1,array2,array3,..... "


      Work hard and a bit of luck is the key to success.

      You don`t need to be genius, to be rich.

      C 1 Reply Last reply
      0
      • Y Yulianto

        Save the array seperated by ",", like "array1,array2,array3,..... "


        Work hard and a bit of luck is the key to success.

        You don`t need to be genius, to be rich.

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

        If it is an array of doubles used to draw a curve, all that encoding and parsing into and out of strings is going to slow things down. Probably better to use a varbinary or image field of some sort.


        Do you want to know more? WDevs.com - Open Source Code Hosting, Blogs, FTP, Mail and Forums

        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