Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 723773
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T06:08:47+00:00 2026-05-14T06:08:47+00:00

I have 2 PCs, each one of them has SQL Server 2008 installed on

  • 0

I have 2 PCs, each one of them has SQL Server 2008 installed on it and there is a database with data in it.

I need a way that I can move data in my DB from this SQL Server to another one (another PC which has the same DB)

  • move data from one PC to another one –

There is one problem, the ID column, because each DB in my 2 PCs has data in it so this column counts from 1,2,3,……. ( data will be conflict with other data in my DB )

Is there any way to solve my problem and move data successfully?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T06:08:48+00:00Added an answer on May 14, 2026 at 6:08 am

    Are those ID columns of type IDENTITY? If so, when you insert the new data from the second database, new ID’s will be generated -> no clashes. This would then mean you might need to track the inserts, so that you can define what the old ID from DB#2 has been translated to when it was inserted into DB#1.

    If these columns are not IDENTITY columns, you could just make sure to add a sufficiently large number to the old values, e.g. replace each ID (e.g. 5) with ID+100’000 = 100’005 –> thus you could avoid all clashes. Again, if you have any data referencing that main table in your DB#2, you would have to fix up the old references (the old foreign key ID’s) to the new values, before inserting them into the table on your new DB.

    It’s a bit messy – but it can definitely be done if you think about it in enough detail. Basically, you will need to renumber the data being imported, and you need to make sure not to have any clashes. There’s no functionality in SQL Server to help you with this very much – there’s no “import this data and renumber its ID’s” kind of command, unfortunately.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have 3 home PCs that have 2008 SQL Server Express instances installed on
Have you ever seen any of there error messages? -- SQL Server 2000 Could
It's basically one app that is installed on multiple PC's, each install maintaining it's
I've encountered a strange problem in Sql Server. I have a pocket PC application
my doubt is the following, I have a network with 5 pcs, each machine
I have an array of point data, the values of points are represented as
I have a Visual Studio project that gets installed to about half of the
after getting my answer here: Database issue, how to store changing data structure i
Have just started using Google Chrome , and noticed in parts of our site,
Have you guys had any experiences (positive or negative) by placing your source code/solution

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.