Report for Temp comments with no begin date

SELECT AccountNumber
FROM AccountMain
WHERE ID in
(
SELECT AccountID
FROM AccountComment
WHERE CommentType = 'T' and CommentBeginDate = '1980-01-01 00:00:00' and Comment != '')
and AccountNumber NOT LIKE '~%-%-%'
Was this article helpful?
Thank you for your feedback!
User Icon

Thank you! Your comment has been submitted for approval.