Skip to content
Advertisement

How to specify timestamp format in Oracle SQL

It shows it in very bad way but I need to be Hour:Minutes.

ARRVTIME - DEPTIME is where I need to do formatting because rn I am getting

Advertisement

Answer

Looks like you’re dealing with timestamps. If that’s so, have a look at this example:

Sample table:

Query you might need:

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement