Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use datetime difference in SQL Select?
Message
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01390159
Message ID:
01390386
Vues:
36
>>I am trying to understand the DATEDIFF() function better. Do I understand correctly that the 1st parameter "dd" really has no literal meaning? That is, you can name this parameter anything and it won't change the result?
>
>The first parameter says, that we need to get difference in days.
>
>http://msdn.microsoft.com/en-us/library/ms189794.aspx
>
>http://doc.ddart.net/mssql/sql70/da-db_6.htm

I got it now. Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform