Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date formating problem
Message
From
28/04/2003 11:10:21
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
Date formating problem
Miscellaneous
Thread ID:
00782253
Message ID:
00782253
Views:
45
I need to export a date in the format yyyymmdd. It should not have any trailing time data, and if the month or the day is 1-9, it should appear as '01', '02', ...etc. There is the difficulty. I could create a few 'IF' statements of course, but I am hoping that there is a better, cleaner way to accomplish this export. It can be as a datetime or as a char() field.

Thank you in advance.

Rollin Burr
rollinburr@cox.net
Thank You

Rollin Burr

Politicians and diapers have one thing in common. They should both be changed regularly, and for the same reason.
Next
Reply
Map
View

Click here to load this message in the networking platform