Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / General / Data Warehousing / February 2006

Tip: Looking for answers? Try searching our database.

Copy tables with autoincrement values

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JumpingMattFlash - 12 Feb 2006 15:51 GMT
I'm trying to establish the quickest and easiest solution to a problem
involving copying data from our live server to our test one.

The database contains approximately 30 tables with about 500mb of data
expanding at about 10% a month. The issue is that in order to refresh the
database on our test systems using the live data, the test database needs to
be completely deleted and then created again using the live db. However each
time this is done, the users on the database need to be re-added and
permissions assigned. Also any changes done to the table schema, SP's etc is
lost in the process.

The reason the live data cannot be simply cannot be copied from one database
to the other is that as test data is added to the test system, the keys with
the data on the live system conflict and thus copying cannot continue. Also
if the tables are attempted to be truncated before data copying - foreign
keys stop certain ones from completing.

The databases are both running Server 2000 std edition on Windows 2003 std.

Any help or guidance would be much appreciated.

TIA,
Matt Brooke
Signature

=============
VB .NET Developer
http://www.rocketscience.uk.com

nyaroh - 13 Feb 2006 01:17 GMT
Matt,
This might be helpful to
you:http://www.simple-talk.com/2005/07/05/replication/
nyaroh - 13 Feb 2006 01:17 GMT
Matt,
This might be helpful to
you:http://www.simple-talk.com/2005/07/05/replication/
~Rohit
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.