nxpage
Starting Member
49 Posts |
Posted - January 03 2007 : 15:36:02
|
We updated production/server with all our products, categories, configurations, etc. I then wanted to update my localhost SQL db to mimic the tables in production for further testing, etc. I'm using Export Data through MS SQL Management Studio as follows:
On localhost 1. Dropped all tables 2. Ran create600sqlserver.sql to recreate tables/indexes
Then in Export Data edited mappings to Append Rows and Enable Identity Insert.
Everything runs fine but nothing matches on localhost (products in wrong categories, cross-sells attached to wrong items, etc.)
I looked at the raw SQL tables in production and the Identity columns are NOT in order ASCENDING, they are in a random order. Hence the append on localhost creates the Identity (e.g. products "catalogid") in numerical order ASC. Yet in the same table on server the catalogid is not in any order (9,13,14,1,2,3,11,10...)
I've never seen this before (have other projects that are fine).
|
Edited by - nxpage on January 03 2007 15:37:23 |
|