PC Review


Reply
Thread Tools Rate Thread

How can I embed a parameter for a stored proc into MS Query?

 
 
Gail J-N
Guest
Posts: n/a
 
      15th Jan 2008
I need to run an MS SQL Server 2005 stored proc from MS query, but I'd really
like to be able to pass one single parameter for the stored proc to MS Query
(or VBA??) from Excel. Is there a way to do that?

E.g. my stored proc is: ABCD '200801' where '200801' is an input parameter.

I'd like to have a user update an Excel field as '200802', and then have a
way that MS Query (or something) executes the SQL stored proc using the new
parameter (e.g. ABCD '200802').

Can that we done?

Thanks in advance!!
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Parameter Type/Size Property Values for VARCHAR(MAX) Stored Proc Parameter jcpc Microsoft ASP .NET 2 26th Jan 2011 11:48 AM
run stored proc from excel with a parameter TG Microsoft Excel Programming 1 20th Nov 2007 02:58 PM
Sending stored proc Parameter Rob Microsoft VB .NET 9 8th Aug 2007 06:47 AM
Crystal Reports - Default Stored Proc Parameter? Mario T. Lanza Microsoft C# .NET 0 11th Aug 2004 07:21 PM
How to retrieve stored proc parameter info? =?Utf-8?B?SG93YXJkIEdyZWVu?= Microsoft ADO .NET 4 31st Mar 2004 10:46 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:08 PM.