+ Reply to Thread
Results 1 to 3 of 3

Updating multiple connections to SQL Server

  1. #1
    Registered User
    Join Date
    01-09-2014
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    2

    Updating multiple connections to SQL Server

    I currently have a dashboard which provides details on individual customers. The dashboard is populated by data from SQL Server which is updated by calling stored procedures through multiple Excel to SQL Server connections. Currently I update each connection to the new customer name as I call the stored procedure. Is it possible to write a piece of code to update each connection simultaneously, or even better, select the customer from a list which then updates the data?

    With thanks.

  2. #2
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Updating multiple connections to SQL Server

    How are you calling the sps? MS Query? VBA? Another method?

  3. #3
    Registered User
    Join Date
    01-09-2014
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Updating multiple connections to SQL Server

    Quote Originally Posted by Kyle123 View Post
    How are you calling the sps? MS Query? VBA? Another method?
    In Excel 2010 through:

    Data -> Connections

    Using a database connection, calling the stored procedure in the command text field of the definitions tab of the connection properties using SQL.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Updating SQL Server via Excel
    By wardellcastles in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-28-2006, 10:50 AM
  2. [SOLVED] RTD server halting Excel while updating
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-10-2006, 12:10 PM
  3. RTD server halting Excel while updating
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-10-2006, 09:25 AM
  4. [SOLVED] Updating a dropdown list from SQL server
    By DevalilaJohn in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-28-2006, 04:15 AM
  5. Replies: 0
    Last Post: 05-10-2005, 05:06 PM

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