Is there an easy way of extracting time parts from a timestamp data type?
Currently, I have to convert the timestamp into a formatted text and then using text functions extract different parts of the date and time. Then again convert the hour, seconds etc into number for any comparison.