Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date Time Format
Message
From
30/01/2003 12:00:44
Anderson Girardi
Athenas Automação de Escritório
Porto Alegre, Brazil
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
Date Time Format
Miscellaneous
Thread ID:
00747230
Message ID:
00747230
Views:
41
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
Map
View

Click here to load this message in the networking platform