How can I use a select * from statement and also use the to_char function for a date so it shows the date with hour and minutes.
For example I am tying this but it is not working
select *, to_char(lastupdatetime, 'DD:MON:YY:HH:MI:SS AM)
from whatevertable
I just want to be able to select all and format the date in the lastupdatetime field all in one statement.
thanks and sorry for the simple question I just can not remember how to do it.
For example I am tying this but it is not working
select *, to_char(lastupdatetime, 'DD:MON:YY:HH:MI:SS AM)
from whatevertable
I just want to be able to select all and format the date in the lastupdatetime field all in one statement.
thanks and sorry for the simple question I just can not remember how to do it.