I have an stored procedure with below body:
ALTER PROCEDURE dbo.sp_DeleteRoecords
@Conditions NVARCHAR(200)
AS
BEGIN
DECLARE @Query NVARCHAR(2000)
SET @Query = 'DELETE FROM Customer Where ' + @Conditions
EXEC (@Query)
END
How I can Get Affected Rows after executing the @Query
?