How to remove milliseconds from timestamp(6) / datetime in Teradata
Scenario : We are selecting from a table with a timestamp(6) data type.
Currently the data look like this:
SELECT current_timestamp(6) AS ts, ts (FORMAT 'MM/DD/YYYYbhh:mi:ss') (CHAR(19))
Read great educational content like this and a lot more !
Members get free exclusive access to content, new courses, and discounts. Signup for a free account to write a post / comment / upvote posts. Creating an account takes less than 5 seconds and you can start earning badges & points too