ShankarJ
Programmer
- Aug 9, 2003
- 856
Hi!
Any idea why the following SP does not return the Row Count. It does return the result set though.
CREATE PROC dbo.sp_DFD_Query ( @SelectQuery NVARCHAR(4000), @SelectedRows INT OUTPUT )
AS
exec sp_executesql @SelectQuery
SET @SelectedRows=@@rowcount
GO
Regards
Any idea why the following SP does not return the Row Count. It does return the result set though.
CREATE PROC dbo.sp_DFD_Query ( @SelectQuery NVARCHAR(4000), @SelectedRows INT OUTPUT )
AS
exec sp_executesql @SelectQuery
SET @SelectedRows=@@rowcount
GO
Regards