I have this query :
set IDENTITY_INSERT dbo.OtherData1 ON
INSERT INTO OtherData1 (OtherDataID, EmployeeID, OtherDate, OType, OSubject, StatementNo, Stateme
This won't get all possible invalid dates (e.g. 30 February) but might help you find ones that need fixing.
SELECT StatementDate
FROM OtherData
WHERE StatementDate NOT LIKE '[0-3][0-9]/[0-1][0-9]/[1-2][0-9][0-9][0-9]'
AND StatementDate NOT LIKE '[1-9]/[0-1][0-9]/[1-2][0-9][0-9][0-9]'
AND StatementDate NOT LIKE '[0-3][0-9]/[1-9]/[1-2][0-9][0-9][0-9]'
AND StatementDate NOT LIKE '[1-9]/[1-9]/[1-2][0-9][0-9][0-9]'