jordanking
Programmer
- Sep 8, 2005
- 351
hello,
I have a production SQL server database that is going to "import" data from an access database. I have the Access DB upsized and attached to the server of the production database. I need to:
1) remove the relationships from several tables of the production DB
2) truncate a few tables(which is why I had to do the above step)
3) import the data from the upsized "Access DB"
4) restore the relationships that were deleted in step one.
My question: Is there a way to script the deletion and creation of Relationships in the production databse so I don't have to go through the database diagram?
.....
I'd rather be surfing
I have a production SQL server database that is going to "import" data from an access database. I have the Access DB upsized and attached to the server of the production database. I need to:
1) remove the relationships from several tables of the production DB
2) truncate a few tables(which is why I had to do the above step)
3) import the data from the upsized "Access DB"
4) restore the relationships that were deleted in step one.
My question: Is there a way to script the deletion and creation of Relationships in the production databse so I don't have to go through the database diagram?
.....
I'd rather be surfing