LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 66
Default Calling a Stored procedure on SQL Server asynchronously

I thought someone over here might be able to help me with this problem from a
different angle. I posted on SQLServer.programming too, I apologize if this
is considered bad form. I would be using ADO record sets, and am familiar
with what's involved in calling a SP using that technology.



Back on 9/21/2004, Dan Ganiere asked about executing T-SQL asynchronously.

T-SQL itself doesn't support that, but Gregory A. Larsen had a work around.

Unfortunately, he used sp_OACreate, sp_OAGetErrorInfo, sp_OAMethod,
sp_OADestroy, which require my server to be reconfigured, and it's looking
like that will be a no go.

I would like to bring this issue up again. I want to fire a SP from Excel,
but I don't want to tie up Excel while executing a potentially long running
PROC bulk inserting and processing a file. (Excel made the file, that's how
it knows to tell SQL Server to run the proc)

Is there a way I can call something that returns control back to Excel right
away, that doesn't require me to reconfigure the server.

Bob


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calling Oracle Stored Procedure Jim Heavey Excel Programming 3 February 10th 06 01:24 AM
Run SQL Server stored procedure in Excel macro Peder Myhre Excel Programming 1 November 8th 05 10:54 PM
calling a stored procedure on MS SQL Server within MS Excel 2000 Witold Domienik Excel Programming 0 March 2nd 04 10:47 AM
Importing Data from a Stored Procedure (SQL SErver) Martin Eckart Excel Programming 1 January 22nd 04 01:24 AM
How can I grab data from a SQL Server stored procedure Sam Excel Programming 3 December 4th 03 03:38 PM


All times are GMT +1. The time now is 12:13 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"