Microsoft
Software
Hardware
Network
Question : Converting Dates with SQL
Howdy,
I am modifying an Access 2003 table. The original table has a, "Date/Time" field which has dates in the formats: 9/23/2008 and 11/24/2009, etc. These dates represent credit card expirations. Using SQL, I would like to copy these dates into a new table and field while converting them to a "Text" data type. The new format will be: "09/08" and "11/09," etc. I do not need to know the day the card expires, just the month and year. Is there a way to do this with SQL? If not, how 'bout a VBA example...Thanks Dudes!
Answer : Converting Dates with SQL
select format([DateField],"mm/yy"
) AS ExpiryDate into tableX
from tableName
Random Solutions
Modifying the unattend.xml file to add CopyProfile
To many controls on a form- Reports SLOW!!
why will windows 98 only start in safe mode?
Error 0x9004010f when trying to add an Exchange Mail Box to Outlook XP
Open and close WORD files from ACCESS module
An error (193) occured while creating user logon.
Add querytable with parameters
Bring in data from linked database in batched
What's an easy way to add cumulatively in Foxpro?
Can I Use BULK INSERT from ACCESS 2003 into SQL SERVER EXPRESS