General information
Forum:
Microsoft SQL Server
HI,
I´m trying to do a query with a field datatime type, i would like to format the result to the follow mask '10:00'.
I tried to use DatePart function, but i only can retrieve the Hour.
i´m using the follow SQL Expression:
SELECT clientesPortas.descricao, DATENAME( hour , fluxo.dataHora)
From clientesPortas.
how can i do it?
thanks
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only