Red Gate forums :: View topic - Ver 5 - Ignore Collations Option, incorrect Row Order
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Packager 6
SQL Packager 6 forum

Ver 5 - Ignore Collations Option, incorrect Row Order

Search in SQL Packager 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
StevenE



Joined: 04 Jun 2007
Posts: 9

PostPosted: Thu Mar 19, 2009 11:23 am    Post subject: Ver 5 - Ignore Collations Option, incorrect Row Order Reply with quote

We are using SQL Packager 5 to include some lookup data for our application. The app relies on some ID fields (identity fields) being present in the database and matching specific records, therefore the order in which the data is put in is important.

We had problems running the exe generated by SQL Packager on some systems where it complained about a mismatch between the collations, so we selected the Ignore Collations option. This made the exe work, however it no longer inserts the data in the same order source database tables (i.e the IDs to not match)

How can we get around this problem.

Many Thanks
Steven Elliott
Software Developer
Shire Systems LTD
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6647

PostPosted: Sun Mar 22, 2009 2:00 pm    Post subject: Reply with quote

Hi Steven,

SQL Packager upgrade packages are static -- producing a data update between two databases will result in identity values that exactly match the ones in the source database. So if you run the resulting upgrade against a third database, you will get the source database's hard-coded IDs instead of the third database's automatically generated IDs. This is the same whether you're using Packager v5 or v6.

The only way I know of to produce a "dynamic" data upgrade would be using the SQL Comparison SDK to compare your destination database to a backup file of your source database. SQL Packager doesn't (yet) have this functionality.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group