B
Biser
Hello!
I have a question about treathment of optional parameters of Stored
Procedures in ADO.Net
If I have the following SP (on SQL Server 7.0 DB):
CREATE PROCEDURE dbo.test_sp
@first_param int = NULL,
@second_param int OUTPUT,
@third_param int
AS
BEGIN
RETURN 1
END
How can I found using SqlCommandBuilder.DeriveParameters method that the
first parameter is OPTIONAL, second is OUTPUT and the third is not optional
INPUT parameter.
When the command.Direction property will have value "Output" only not
"InputOutput"?
Thanks.
I have a question about treathment of optional parameters of Stored
Procedures in ADO.Net
If I have the following SP (on SQL Server 7.0 DB):
CREATE PROCEDURE dbo.test_sp
@first_param int = NULL,
@second_param int OUTPUT,
@third_param int
AS
BEGIN
RETURN 1
END
How can I found using SqlCommandBuilder.DeriveParameters method that the
first parameter is OPTIONAL, second is OUTPUT and the third is not optional
INPUT parameter.
When the command.Direction property will have value "Output" only not
"InputOutput"?
Thanks.