Need advice inserting data in bulk

Last post 11-24-2009 9:17 PM by SamU. 0 replies.

Sort Posts:

  • Need advice inserting data in bulk

    25 minutes ago
    • Contributor
      2,255 point Contributor
    • SamU
    • Member since 07-29-2002, 4:09 PM
    • West Palm Beach, FL
    • Posts 845

    Hi,

    In my ecommerce site, I want to give merchants a way to insert/update data in bulk i.e. ProductID and Price. It makes sense to use Excel sheets for this purpose. If I were to read everthing line by line from the Excel sheet and call a stored procedure, each transaction would generate hundreds of database hits. What is the best way to handle this?

    Another important feature is that if the vendor already has a ProductID in the database, the new data should overwrite the old. So it will be a MERGE statement in the backend. I'd appreciate some pointers in handling this.


    Thanks,

    Sam
Page 1 of 1 (1 items)