+ Reply to Thread
Results 1 to 5 of 5

Help - Batch Uploading from Excel spreadsheet to MS SQL Server (2005 or later)

  1. #1
    Registered User
    Join Date
    07-01-2011
    Location
    Atlanta, Georgia
    MS-Off Ver
    Excel 2007
    Posts
    7

    Question Help - Batch Uploading from Excel spreadsheet to MS SQL Server (2005 or later)

    I'm posting this question after feeling like I have literally gone to the end of the internet in search of an answer. All I have so far is partial answers without a complete solution. I'm eager to hear if anyone has a solution, and am even willing to pay for some custom development (if need be).

    The problem is fairly simple: I'm looking for the fastest way to load an Excel spreadsheet to a MS SQL Server database table. I have obviously found hundreds of solutions, many of which suggest that using OPENROWSET and OPENDATASOURCE are the best technique. Other solutions suggest SQLBULKCOPY or even bcp as the fastest loading method.

    The problem is that every solution I have found only seems to work if an Excel file is located on the same machine as the SQL Server database. This will not be the case, as my application will use MS Excel on a client PC to interface SQL Server on a remote server.

    Again, I'm looking for the fastest solution to load a spreadsheet (potentially with 100,000 lines or more) from a local PC to a remote SQL Server database.

    Please help.

    Thanks,
    Matt

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Help - Batch Uploading from Excel spreadsheet to MS SQL Server (2005 or later)

    ?????????????????????
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Forum Contributor PingPing's Avatar
    Join Date
    02-19-2010
    Location
    London, England
    MS-Off Ver
    2007
    Posts
    158

    Re: Help - Batch Uploading from Excel spreadsheet to MS SQL Server (2005 or later)

    Quote Originally Posted by mwynn View Post
    I'm looking for the fastest solution to load a spreadsheet (potentially with 100,000 lines or more) from a local PC to a remote SQL Server database.
    The fastest way would be with an enterprise ETL tool like SQL Server Integration Services.
    Last edited by PingPing; 03-31-2012 at 04:50 PM.

  4. #4
    Registered User
    Join Date
    07-01-2011
    Location
    Atlanta, Georgia
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Help - Batch Uploading from Excel spreadsheet to MS SQL Server (2005 or later)

    The technique or approach that I'm looking for will require execution from the client side. In other words, users of the application will not have access to SQL Server.

  5. #5
    Forum Contributor PingPing's Avatar
    Join Date
    02-19-2010
    Location
    London, England
    MS-Off Ver
    2007
    Posts
    158

    Re: Help - Batch Uploading from Excel spreadsheet to MS SQL Server (2005 or later)

    Create your SSIS package in Visual Studio then.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1