Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date Time Format
Message
De
30/01/2003 12:00:44
Anderson Girardi
Athenas Automação de Escritório
Porto Alegre, Brésil
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Date Time Format
Divers
Thread ID:
00747230
Message ID:
00747230
Vues:
43
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform