Hi friends,
I just got it , if we give the below two lines at the beginning of the sp it works!!!!
SET FMTONLY OFF
SET NOCOUNT ON
ie
CREATE PROCEDURE SP_NAME
AS
BEGIN
(@P1 INT, @P2 VARCHAR(30)
)
AS
BEIGN
SET FMTONLY OFF
SET NOCOUNT ON
-----
---
--
END
in this case , in the data access mode is selected as 'SQL Command' , no need to give SET NOCOUNT ON . Also we can give the parameter using ? , and can map it with variable . ie
exec sp_name ?,?
Regards,
MC