1
What is the return of a query in an empty table?
Example, I am running this SQL Command:
select Value
from AVL_AnalogInput1
where TimeStamp = (select max(TimeStamp) from AVL_AnalogInput1) .
Table AVL_AnalogInput1
.
Outcome of the consultation.
My question is, what kind of result are you returning to me? Are you returning me null? Or are you simply not returning anything to me? I can use this result to check if the table is empty?
I think this one link can help you
– Tmilitino
Note that your table is not empty, it contains a row with NULL values. NULL has a very specific behavior, especially in comparisons.
– anonimo