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. Web Development
  3. ASP.NET
  4. Read CSV data file into MS SQL SERVER 2000

Read CSV data file into MS SQL SERVER 2000

Scheduled Pinned Locked Moved ASP.NET
databasesql-serversysadmin
4 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.
  • Y Offline
    Y Offline
    Yong Yau
    wrote on last edited by
    #1

    The case like this. User can create their CSV data file from their SAP application & SAP server. For my side, i am developing a system which will let user browse to the CSV data file which user save to their thumb drive, floopy disk even their local pc. when they select their prefer CSV file, user can click on a button to import the CSV data into my database on my SQL server. Any idea for me to perform this import action including while importing i can checking and filtering out those unnecessary CVS data. Thank for response!!!

    _ 1 Reply Last reply
    0
    • Y Yong Yau

      The case like this. User can create their CSV data file from their SAP application & SAP server. For my side, i am developing a system which will let user browse to the CSV data file which user save to their thumb drive, floopy disk even their local pc. when they select their prefer CSV file, user can click on a button to import the CSV data into my database on my SQL server. Any idea for me to perform this import action including while importing i can checking and filtering out those unnecessary CVS data. Thank for response!!!

      _ Offline
      _ Offline
      _AK_
      wrote on last edited by
      #2

      This depends how you want to store the data into the database.

      Best Regards, Apurva Kaushal

      Y 1 Reply Last reply
      0
      • _ _AK_

        This depends how you want to store the data into the database.

        Best Regards, Apurva Kaushal

        Y Offline
        Y Offline
        Yong Yau
        wrote on last edited by
        #3

        Let say i will not import all the data from the CSV file selected by the user as while importing the data i will perform some checking to pick up those related CSV data to be store into my table in my SQL server database. I am stuck in the coding how will it be for the code as after user click the import button on my system, the importing and filtering will be take action. After successful importing and filtering, the data will store in the database. Please advice.

        _ 1 Reply Last reply
        0
        • Y Yong Yau

          Let say i will not import all the data from the CSV file selected by the user as while importing the data i will perform some checking to pick up those related CSV data to be store into my table in my SQL server database. I am stuck in the coding how will it be for the code as after user click the import button on my system, the importing and filtering will be take action. After successful importing and filtering, the data will store in the database. Please advice.

          _ Offline
          _ Offline
          _AK_
          wrote on last edited by
          #4

          you can read the CSV file and then can store it in some array and then you can filter it and finally store it in the database. In which step is the problem. :)

          Best Regards, Apurva Kaushal

          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