Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 575
Default Passing an array or recordset to a stored procedure

There is a solution I use for a similar problem, but it may not be optimal
since we are using a 3 tier architecture through a web server. This is to
create a recordset at the client containing the equivalent of your array,
upload the recordset into an empty table at the database, then have the
stored proc access the table using a cursor to work through the record and
do any processing. You don't mention what the stored proc does, so difficult
to say if this would work for you.

Robin Hammond
www.enhanceddatasystems.com

"Raul" wrote in message
...
I need to pass an array of data to a stored procedure
that will evaluate the data and insert it into the
database. I have created a VBA routine that generates
the array. I have also written a stored procedure using
local variables that does what I need to on the database
side. Now I need some help figuring out how pass the
data to the stored procedure.

Any suggestions?

Thanks,
Raul



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 86
Default Passing an array or recordset to a stored procedure

Robin,
Creating the recordset and uploading it to a table what I would like to do;
working out the issuses is the hard part.

Thanks,
Raul

"Robin Hammond" wrote:

There is a solution I use for a similar problem, but it may not be optimal
since we are using a 3 tier architecture through a web server. This is to
create a recordset at the client containing the equivalent of your array,
upload the recordset into an empty table at the database, then have the
stored proc access the table using a cursor to work through the record and
do any processing. You don't mention what the stored proc does, so difficult
to say if this would work for you.

Robin Hammond
www.enhanceddatasystems.com

"Raul" wrote in message
...
I need to pass an array of data to a stored procedure
that will evaluate the data and insert it into the
database. I have created a VBA routine that generates
the array. I have also written a stored procedure using
local variables that does what I need to on the database
side. Now I need some help figuring out how pass the
data to the stored procedure.

Any suggestions?

Thanks,
Raul




Reply
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
Stored Procedure call and passing parameters TLowe Excel Programming 3 April 23rd 04 10:09 AM
execute stored procedure Mark Goldin Excel Programming 3 April 7th 04 03:03 PM
Run a stored procedure in Excel 2K ArthurB Excel Programming 0 February 26th 04 04:46 PM
Execute stored procedure using DAO sapta wijaya Excel Programming 0 September 29th 03 04:24 AM
Passing parameter from Excel to stored procedure? hmmm... Excel Programming 1 July 25th 03 02:59 PM


All times are GMT +1. The time now is 09:31 AM.

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

About Us

"It's about Microsoft Excel"