Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
John S. Michael — — source: Informix-list mailing list archive (1991-1998)
>let's say my table T contains an attribute A (datatype is DATETIME).
>
> SELECT A FROM T>
>shows the values of A as "yyyy-mm-dd hh.mm.ss" but I just want to see
"hh.mm".
>
>How can I do this?? SELECT extend(A, hour to minute) doesn't work.
Specify the column label for the EXTEND function:
SELECT EXTEND(A, HOUR TO MINUTE) temp_time FROM ...
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.