How to refresh database data only in SQL Server
- by MaxGeek
So I want to copy just the data from a Prod database (SQL 2005) down to my local machine (SQL 2005 & SQL 2008 Management Studio installed).
The problem is I'm running into foreign key constraints that are causing the task/scripts to fail. I can get by these errors if I import certain tables first, but is there an easier way to do this all at once? I'm not a DBA so I don't have access to the database back up.
I've tried the SQL Import/Export data Wizard and Publishing Wizard, but it also gets the PK error.