SQL-Unit  1.6
Functions
AssertTableEqualTo.ssunit.sql File Reference

The AssertTableEqualTo stored procedure. More...

Functions

int AssertTableEqualTo (TableName @expected, TableName @actual)
 Asserts that the table contains exactly the same data as the expected table.

Detailed Description

The AssertTableEqualTo stored procedure.

Author:
Chris Oldwood

Function Documentation

int AssertTableEqualTo ( TableName expected,
TableName actual 
)

Asserts that the table contains exactly the same data as the expected table.

Note:
This compares the tables without regard to row order. The tables must also contain the same column names.
Parameters:
expectedThe expected table data.
actualThe actual table data.