Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem accesing stored procedure
Message
From
08/06/2006 09:25:34
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Problem accesing stored procedure
Miscellaneous
Thread ID:
01127812
Message ID:
01127812
Views:
82
Hello,

I have a stored procedure in a SQL Server, which looks like that:
CREATE PROCEDURE PTP_GetModCount
@Filekey as varchar(20)
AS
declare @OnlCnt as int
declare @OffCnt as int
I have tried now several things to call this stored procedure with ExecSprocScalar or ExecSproc. When I create a Input parameter for @Filekey
and pass it to one of the ExecSproc functions, the error message told me that the parameters @OnlCnt and @OffCnt are missing.
Do I add those parameters as well, then the error occurs that I have passed too many parameters to the stored procedure.

So has anyone an idea how I should call this procedure?

With kindly regards
Thomas Wetterer
Next
Reply
Map
View

Click here to load this message in the networking platform