Re: Importing a timestamp
From: Douglas J. Steele (NOSPAM_djsteele_at_NOSPAM_canada.com)
Date: 09/01/04
- Next message: Brenda: "Re: Create Table - DateTime format"
- Previous message: Jeff Boyce: "Re: Needs basic information to upsize in SQL server"
- In reply to: Brenda: "Importing a timestamp"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 1 Sep 2004 07:35:34 -0400
Access won't work with the decimal second part: it's only designed to hold
yyyy-mm-dd hh:nn:ss.
Try importing it as text, then write an Update query to remove everything
after the decimal point. Once you've done that, you can add a Date/Time
field to the table and write another Update query to populate the Date/Time
field with the value of the Text date field (using the CDate function)
-- Doug Steele, Microsoft Access MVP http://I.Am/DougSteele (no e-mails, please!) "Brenda" <Brenda@discussions.microsoft.com> wrote in message news:7E618A04-393D-4AF8-B6DC-2B37D8B2A208@microsoft.com... > I was importing a text file with a timestamp into a new table using the > import wizard. I have set the advanced to be the correct date format. But I > can not get the timestamp to import. The timestamp has the following format. > > yyyy-mm-dd hh:nn:ss.sssssssss > > I do not know how to set the format for a field during the import. Guess I > could import to an existing table, but I do not know the format pattern for > the above timestamp in the designer. > > Another question. During the import wizard, how can you set the length of > the text fields during import. > > Thanks >
- Next message: Brenda: "Re: Create Table - DateTime format"
- Previous message: Jeff Boyce: "Re: Needs basic information to upsize in SQL server"
- In reply to: Brenda: "Importing a timestamp"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|