Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Locating records with a specific time
Message
De
19/11/2014 21:52:39
 
 
À
19/11/2014 21:12:14
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2012
Application:
Web
Divers
Thread ID:
01611170
Message ID:
01611206
Vues:
46
>>>Its a DAX funtion http://msdn.microsoft.com/en-us/library/ee634800.aspx
>>
>>So, this is not part of the native SQL Server support?
>
>Sorry to jump in, but HOUR is not a valid SQL function.
>
>The DatePart function that Nicholas mentioned is how you can extract any single part (anything from hour to minute to day, etc) of a date.

What would be the TSQL syntax that would extract rows where the adddate (a datetime column) was later than 2PM on 11/18/2014?
Anyone who does not go overboard- deserves to.
Malcolm Forbes, Sr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform