I am Write Unit Test Cases for Stopred Procedure
in vs 2012.In Test case execute stored procedure and get the row count.also the Get the row count in other table.I am try to compare both rowcounts.i am write script that script work on sql server but 2012 row count compare the table value.Plese help me to solve this problem.
This is code
SET NOCOUNT ON;
DECLARE @TagHistoryRowCount int=0;
DECLARE @ExportProcRowCount int=0;
--Executing aaInternalTagHistoryExport procedure
IF(@ExportProcRowCount = @TagHistoryRowCount)
Error : ScalarValueCondition Failed: ResultSet 1 Row 1 Column 1:Values do not match,actual'R5Obj219' expected '1'.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)