| Author |
Message |
abjacs
Joined: 19 Dec 2008 Posts: 6
|
Posted: Wed Feb 10, 2010 6:34 am Post subject: Prevent Statistics from being extracted to scripts folder |
|
|
Hi. I'm using SDK v7.0 to save a physical db as a scripts folder. The extraction executes fine, but the extracted create table statements contain create statistics statements. Is there some way I can prevent this from happening?
I have tried registering the physical database with Options.IgnoreStatistics, but, per the API documentation, it seems that the Options enumeration only applies to comparison/migration operations.
Thanks! |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6348 Location: Red Gate Software
|
Posted: Thu Feb 11, 2010 2:50 pm Post subject: |
|
|
Hi Alex,
Maybe the problem is simply that you need to remember to apply your options at both the comparewith method and BuildFromDifferences. If you do not add Options.IgnoreStatistics to BuildFromDifferences, then you are creating the script with the default options. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
|
|
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