Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
From 112 to DATEPART
Message
From
24/01/2011 21:28:52
 
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01497298
Message ID:
01497302
Views:
33
>Try
>
>SELECT CONVERT(CHAR(8),Hit.AddDate,112) + CONVERT(CHAR(2), Hit.AddDate,108)
>
>BTW, in SSMS highlight CONVERT and Press F1. It will give you all formats available for CONVERT.

Thanks, this simplifies things up.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform