Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread TIMESTAMP without a time
Sat, Jan 31 2009 8:48 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Its valid (at least I can do it) to enter a timestamp without the time portion. How can you then detect timestamps without the time portion?

cast(_start as time) is null

doesn't work.

Roy Lambert
Sat, Jan 31 2009 11:42 AMPermanent Link

Fernando Dias

Team Elevate Team Elevate

Roy,

<< Its valid (at least I can do it) to enter a timestamp without the
time portion. How can you then detect timestamps without the time portion?>>

CAST(_Start AS TIME) = TIME '0:0:0'

The default time part is not NULL, it's Zero.

--
Fernando Dias
[Team Elevate]
Sun, Feb 1 2009 3:54 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Fernando


Thanks - I eventually figured it out - I got confused especially by EDBManager showing midnight and standard dbgrids showing a blank.

Roy Lambert
Image