Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a shorter syntax?
Message
 
To
23/05/2001 23:04:52
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
00510693
Message ID:
00510712
Views:
12
>>>If you don't need two digit months ('4' vs. '04') you could use:
>>
>>I need the 04.
>
>Then use the first example. 'mm' returns the month in two digit format.

It doesn't work because I have to CAST to be able to concatenate the / (and the cast erase the 0).
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform