RE: Field mapping on Importing

From: John Bell (JohnBell_at_discussions.microsoft.com)
Date: 11/24/04


Date: Wed, 24 Nov 2004 11:09:06 -0800

Hi

If this is a repeated activity you may be better off creating a DTS job to
do it. To avoid making the datatype changes each time you could use staging
tables and just truncate them each time before loading the data. Ideally you
will have a finite number of input file formats. Varying filenames should not
be a problem see http://www.sqldts.com/default.aspx?246.

John

"Paul" wrote:

> Hi All
>
> I regularly import data from MS access databases (and many other formats) to
> SQL server using the enterprise manager. However, the DBTIMESTAMP property
> of Access gets imported as a smalldatetime in SQL server, which often causes
> problems. At the moment, I click on every table and select the DateTime
> property for each DBTIMESTAMP field before running the import. However, this
> is a pain and I was wandering if I can set the default mapping to choose
> DateTime instead either in my SQL Server, or in the individual database I
> have created to import the data into.
>
> Any help would be great... Also, if anyone knows of any cool software or
> methods for importing very different databases into my one I would love to
> know.
>
> Thanx in advance
> Joe
>
>
>



Relevant Pages

  • Field mapping on Importing
    ... I regularly import data from MS access databases to ... SQL server using the enterprise manager. ... However, the DBTIMESTAMP property ... methods for importing very different databases into my one I would love to ...
    (microsoft.public.sqlserver.programming)
  • Re: why>?
    ... On your desktop-- you'll be running SQL Server behind the scenes. ... it isn't risky to allow end users to create databases. ... it is no more risky than giving you the ability to create spreadsheets. ... I'm not saying that Oracle and IBM are going away. ...
    (microsoft.public.excel)
  • Re: Please answer my queries for fresh Installation
    ... Moving SQL Server Databases ... Using WITH MOVE in a Restore to a New Location with Detach/Attach ... Disaster Recovery Articles for SQL Server ...
    (microsoft.public.sqlserver.server)
  • Re: Please answer my queries for fresh Installation
    ... You can restore MSDB as well as master. ... > SQL Server, It will create Master, MSDB databases. ...
    (microsoft.public.sqlserver.server)
  • Re: Moving SQL Server 2000 from NT4.0 to Windows 2003
    ... Detach your existing user databases, ... user databases (or RESTORE) to the new server. ... > Hey Steve, ... Windows 2003 will not allow SQL Server SP less than 3. ...
    (microsoft.public.sqlserver.server)