Microsoft
Software
Hardware
Network
Question : Convert Date Format CCYYMMDD to MMDDYYYY
I am having difficulties converting the Century date to USA date display. In my Micorsoft SQL 2000 statement I am using the following in my view:
Convert(varchar, dbo.WFALREP.ALAKD8,101)
The field [ALAKD8] is used as the Job Completed Date for a work order completion. When the SQL is 'run' is does not convert the Century date (i.e. 1100616 does not display as 06/16/2010). I also have another field [ABAADT] which is a Requested Date, so I'll be using the same format for this field as well.
Thank you in advance.
Answer : Convert Date Format CCYYMMDD to MMDDYYYY
so what about
Convert(datetime, cast((dbo.WFALREP.ALAKD8 +19000000) as varchar),101)
Random Solutions
Export Access 2010 Report to CSV with Headers?
Sharepoint Survey: Clicked 'No' to 'Show user names while creating the survey! Is there a way to turn the feature back on to see the names again?
Virtual Data Recovery Error
how many version of SQL Server on one machine
run excel and run the enable auto refresh
How do I add buttons on a PDF form to add/remove rows of data?
Blackberry Users can receive but not send
HOW TO DEACTIVATE ALL COMMANDS, TEXTBOXES AND DROPDOWN BOXES ONNA FORM?
How can I connect printer to a computer using another computer.
Does this HP ML370 G3 server support 64-bit OS?