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
=SUMPRODUCT formula error
Move Files in a .bat file not working but did earlier in the day on windows server 2003
How do I supress the add new record icon at the bottom of subdata sheets?
Access - Format datatype in Table to have IP Address format
Trying to filter a Sharepoint List
Allow other user than SA to change passwords and access to companies
How to prevent password autofill at some sites?
Where is Exchange 2003 smtp most raw log?
Problems with SQL Server 2005 Reporting Services Report Manager and Report Server web sites
Excel Drop Down List Query