Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date Time Format
Message
 
 
To
30/01/2003 12:00:44
Anderson Girardi
Athenas Automação de Escritório
Porto Alegre, Brazil
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
00747230
Message ID:
00747236
Views:
12
You can use CONVER() function.
SELECT CONVERT(char(5), getdate(),108)
>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
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform