Question

I'm trying to publish a database project, which also contains a partition function. My destination databases have different (date) values which I do not wish to modify, although SSDT/SqlPackage always attempts to re-create the Partition Function and needless to say - all tables that use the PF.

I have checked the following options: IgnoreObjectPlacementOnPartitionScheme & IgnorePartitionSchemes (http://msdn.microsoft.com/en-us/library/aa833291(v=vs.100).aspx) but still getting the recreation attempt.

Running both VS2012 (latest SSDT) and VS2013

I've attached a sample project to demonstrate the behavior: http://www.fast-files.com/getfile.aspx?file=73666

Was it helpful?

Solution

I think I've managed to get this resolved - Seems like VS UI ignores the "Ignore Partition Scheme" checkbox, however, when specifying in SqlPackage manually it works. Added this to a SqlPackage execution: /p:IgnorePartitionSchemes=True

Hope it helps whoever got stuck on the same issue

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top