Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Return Hour:Minutes from two datetime fields
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00839876
Message ID:
00839887
Vues:
18
You can simplify the code a little bit.
SELECT CONVERT(CHAR(5), DATEADD(mi, DATEDIFF(mi, @dt1,@dt2), ''), 108)
>Thank you Sergey, it worked perfect.
>
>Kirk
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform