Advertisement

09.11.2007 at 07:25PM PDT, ID: 22822327
[x]
Attachment Details

Microsoft Access 2003 SQL Query - Changing the date format of existing text strings

Asked by haselwood in Microsoft Access Database, SQL Query Syntax

Tags: access, date, format, query, sql

Hi

I have record set that has been exported into the following date format:

Thu Mar 30 08:48:22 EST 2006
Thu Dec 28 15:07:11 EST 2006
Tue Jan 01 00:00:00 EST 1980

What query can I run that will change this format to the following format (from the above example)

30-MAR-2006
28-DEC-2006
01-JAN-1980

Please note that I cannot change the Data Type of this field to 'Date/Time' due to other data being there that isn't Date/Time

Thanks
Start Free Trial
[+][-]09.11.2007 at 07:42PM PDT, ID: 19873556

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.11.2007 at 07:48PM PDT, ID: 19873571

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Access Database, SQL Query Syntax
Tags: access, date, format, query, sql
Sign Up Now!
Solution Provided By: FarzadA
Participating Experts: 3
Solution Grade: A
 
 
[+][-]09.11.2007 at 08:03PM PDT, ID: 19873625

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.11.2007 at 08:29PM PDT, ID: 19873712

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.11.2007 at 09:10PM PDT, ID: 19873839

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628