Pass through Query - prompt for parameter?

Scotbot

Registered User.
Local time
Today, 18:47
Joined
Dec 13, 2010
Messages
22
Hi, I have this pass through query:

Code:
USE Raptor
DECLARE     @return_value int
DECLARE @ActivityNumber int
EXEC dbo.SWANSTAResults @ActivityNumber = '140040014'
Which works fine.

I would like it to prompt for the value of @ActivityNumber but I'm not sure how to achieve this - is there any way to do it without VBA?

I can use VBA if I absolutely must but would like to find out if it's possible without first...

Thanks, Scott.
 

Users who are viewing this thread

Back
Top Bottom