Problems with transferring access files with PK!

  • Hello!

    How can I transfer an access file into SQL server. I can get the information into the sql server but I have some problems:

    1. The PK does not come from the access file

    2. All text field in Access is set to nvarchar.

    Perhaps it should be this way with no. 2. But it would be great to find out why the PK doesn't come over!

    Thanks

    - Lars

    -Lars

    Please only reply to this newsgroup. All mails would be bounced back.


    -Lars

    Please only reply to this newsgroup. All mails would be bounced back.

  • This was removed by the editor as SPAM

  • quote:


    How can I transfer an access file into SQL server. I can get the information into the sql server but I have some problems:

    1. The PK does not come from the access file

    2. All text field in Access is set to nvarchar.

    Perhaps it should be this way with no. 2. But it would be great to find out why the PK doesn't come over!


    How did you do the transfer?

    Access Upsizing wizard?

    Frank

    http://www.insidesql.de

    http://www.familienzirkus.de

    --
    Frank Kalis
    Microsoft SQL Server MVP
    Webmaster: http://www.insidesql.org/blogs
    My blog: http://www.insidesql.org/blogs/frankkalis/[/url]

  • in addition, what does your PK look like.

    Access autonumber field?

    Frank

    http://www.insidesql.de

    http://www.familienzirkus.de

    --
    Frank Kalis
    Microsoft SQL Server MVP
    Webmaster: http://www.insidesql.org/blogs
    My blog: http://www.insidesql.org/blogs/frankkalis/[/url]

  • I have the same problems. Also, it happens when transferring data from SQL Server to Access, PK marks disappear.

    Generally I use DTS Import/Export Wizard, and some PK values are combiations of characters and numbers, while some only numbers, but not automunber fields.

    Thx

  • When transferring data from SQL Server to Access this is normal behaviour. Only the raw data is exported, no indexes, no constraints...

    Frank

    http://www.insidesql.de

    http://www.familienzirkus.de

    --
    Frank Kalis
    Microsoft SQL Server MVP
    Webmaster: http://www.insidesql.org/blogs
    My blog: http://www.insidesql.org/blogs/frankkalis/[/url]

Viewing 6 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply