Hi!
DELETE FROM MyTable WHERE MsgTime = {}
should work fine. If it will cause incorrect date format error, use SET STRICTDATE command.
>I have a DATETIME field in a table. Some values are blank. I.e.
>
> / / : : AM
>
>If I want to delete records with this value using SQL DELETE how do I specify the WHERE clause. I.e.
>
>DELETE FROM MyTable WHERE MsgTime = ???????
>
>Many thanks.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.