I’m using sql management studio 2005. When i copy all tables to remote database using Import tool, relation dont copy.
How to copy tables with relation.
I’m using sql management studio 2005. When i copy all tables to remote database
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
You can use the ‘Generate Scripts’ when you right click the database and hit the ‘Tasks’ menu. You can choose in the following dialog to include the relationships between the tables. Only thing is that your data won’t go over, just the structure.
If you want the whole shebang, a backup and restore is usually easiest.