Well, thank you for all of your help and ideas, but my team lead has just decided that the entire query is wrong and he wants to rework it and then give it back to me to format, so... maybe some other time. Thanks!
That is exactly the way I have done it. The problem is that 1:00 am is ordered right next to 1:00 pm. The sort is alphabetical, and I need it to distinguish between am and pm.
I tried that before and the error message that I received said that MB.transmit_TSTMP was not a selected expression. Any clues how to proceed from here?
I have a sql query that formats a timestamp to the specs required, but now it does not sort properly and, not being a sql guru, I seem to be stuck. Here is a snippet of my query:
to_char((NEW_TIME(to_date('01-JAN-1970','DD-MM-YYYY')+ MB.transmit_TSTMP/86400, 'GMT', 'CST')), 'HH:MI:SS am mm/dd')...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.