Subject Re: [firebird-support] Time Fields - Set to just hold hour and minute?
Author Lester Caine
ra8009 wrote:

> Can I alter the Time format, but not the TimeStamp format, so that it
> only holds the Hour and minute?

If you want to limit what is stored in a particular database field to
exclude seconds data for some reason you may want to add a trigger that
EXTRACT's the hour and minute and builds a new value from that. Then you
can look for records with matching 'times', but it is probably easier to
use BETWEEN HH:MM:00 AND HH:MM:59 and not worry about the seconds.

In either case what you 'display' to the user is up to your back end
application.

--
Lester Caine
-----------------------------
L.S.Caine Electronic Services