SQL-Unit  1.6
Functions
FormatDateCompareFailure.ssunit_impl.sql File Reference

The FormatDateCompareFailure user-defined function. More...

Functions

ssunit::TextMessage FormatDateCompareFailure (TextMessage @error, date @expected, date @actual)
 Formats the message for a failed comparison between two Dates.

Detailed Description

The FormatDateCompareFailure user-defined function.

Author:
Chris Oldwood

Function Documentation

ssunit::TextMessage FormatDateCompareFailure ( TextMessage error,
date @  expected,
date @  actual 
)

Formats the message for a failed comparison between two Dates.

Parameters:
errorThe short error message.
expectedThe expected value.
actualThe actual value.