Data Archive
- Data Archive 6.4.3
- All Products
SECOND (char)
|
|
---|---|
|
|
|
|
CREATE TABLE dt_table (time_col TIME, timestamp_col TIMESTAMP); INSERT INTO dt_table VALUES ('15:08:37', '2004-02-17-15.08.37.588000'); 1 row affected SELECT time_col, SECOND(time_col) AS result FROM dt_table; 1 row selected time_col result -------- ----------- 15:08:37 37 SELECT timestamp_col, SECOND(timestamp_col) AS result FROM dt_table; 1 row selected timestamp_col result -------------------------- ----------- 2004-02-17-15.08.37.588000 37