V
V
VicTHOR2021-06-15 09:58:34
SQL
VicTHOR, 2021-06-15 09:58:34

How to set the condition "non-zero timestamp"?

Is there a correct alternative to such a notation?
WHERE field != '1753-01-01 00:00:00'

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly Kachan, 2021-06-24
@MANAB

usually used is 'greater than' or 'less than' a specific date, or a date difference, or a comparison with a specific date. You can also make a Nullable date column and then you can check for null or a specific date.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question