Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date and time
Message
De
20/02/2014 08:56:21
 
 
À
19/02/2014 11:06:17
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Versions des environnements
SQL Server:
SQL Server 2008 R2
Application:
Web
Divers
Thread ID:
01594579
Message ID:
01594779
Vues:
54
>>>No, the poitn is not force SQL Server to return what you want, bnut to SHOW that DT field in the format you want.
>>>
>>>DateTime.ToString("dd/MM/yy hh:mm");
>>>
>>
>>I'm missing the difference completely I'm afraid. The date is stored as datetime and i'm showing the format I want.
>
>Showing is the province of the presentation layer, i.e. whatever generates your html. SQL is rather far behind the scenes and shouldn't have to care about formatting.
>
>In that part it's true that you're showing the format you want - it's just that as homo multiplex (or multi-tier) you need to decide which one of yous is in charge of formatting - you presenter or you data cruncher?

Thanks dragan I have to say its still so much semantics to me. :-)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform