<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>SQL Server Partition Management</title><link>http://sqlpartitionmgmt.codeplex.com/project/feeds/rss</link><description>Managing SQL Server Table partitions requires creating staging tables with indexes and constraints that match a specific partition of a permanent table.  This utility creates staging tables on-demand, eliminating the need modify scripts when table or index structures change.</description><item><title>New Post: Source Code</title><link>http://sqlpartitionmgmt.codeplex.com/discussions/446889</link><description>&lt;div style="line-height: normal;"&gt;Sorry I just found it on the Downloads page.  I was looking under Source Code ...&lt;br /&gt;
&lt;/div&gt;</description><author>MikeHoney</author><pubDate>Thu, 13 Jun 2013 05:03:30 GMT</pubDate><guid isPermaLink="false">New Post: Source Code 20130613050330A</guid></item><item><title>New Post: Source Code</title><link>http://sqlpartitionmgmt.codeplex.com/discussions/446889</link><description>&lt;div style="line-height: normal;"&gt;The source code for this project does not appear to be published?&lt;br /&gt;
&lt;/div&gt;</description><author>MikeHoney</author><pubDate>Thu, 13 Jun 2013 04:59:13 GMT</pubDate><guid isPermaLink="false">New Post: Source Code 20130613045913A</guid></item><item><title>New Post: Can you add a "SplitPartition" function?</title><link>http://sqlpartitionmgmt.codeplex.com/discussions/438085</link><description>&lt;div style="line-height: normal;"&gt;In my current SSIS package l have an Execute SQL Task preceeding a call to ManagePartition.exe with the ClearPartition command.  I've shown the code below.&lt;br /&gt;
&lt;br /&gt;
There's some complexity there and it strikes me the ManagePartition.exe already has all the parameters in place to assist with this.&lt;br /&gt;
&lt;br /&gt;
Perhaps it would be a new &amp;quot;SplitPartition&amp;quot; function?&lt;br /&gt;
&lt;br /&gt;
-- SQL_Split_Partition&lt;br /&gt;
-- Parameter mapping to variable - same as /PartitionRangeValue&lt;br /&gt;
IF NOT EXISTS(&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;        SELECT prv.value, pf.name
        FROM sys.partition_functions AS pf
        JOIN sys.partition_range_values AS prv ON
              prv.function_id = pf.function_id
        WHERE
              pf.name = 'MyPartitionFunction'
              AND CAST(prv.value AS datetime2) = ?
        )&lt;/code&gt;&lt;/pre&gt;

BEGIN&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;-- Prepare to Split a partition
ALTER  PARTITION SCHEME  [MyPartitionScheme]
NEXT USED [PRIMARY]

-- Split a partition 
ALTER PARTITION FUNCTION [MyPartitionFunction] ()
SPLIT RANGE ( ? )
&lt;/code&gt;&lt;/pre&gt;

END&lt;br /&gt;
&lt;/div&gt;</description><author>MikeHoney</author><pubDate>Tue, 26 Mar 2013 22:45:12 GMT</pubDate><guid isPermaLink="false">New Post: Can you add a "SplitPartition" function? 20130326104512P</guid></item><item><title>New Post: Can you add Standard Output messages?</title><link>http://sqlpartitionmgmt.codeplex.com/discussions/438084</link><description>&lt;div style="line-height: normal;"&gt;I think it would be reassuring if the application could produce messages summarizing what it has done, following a successful execution.  These would be written to Standard Output.&lt;br /&gt;
&lt;br /&gt;
I'm integrating it with SSIS via the Execute Process Task and would like to catch those messages and write them to my logging.&lt;br /&gt;
&lt;br /&gt;
Thanks!&lt;br /&gt;
Mike&lt;br /&gt;
&lt;/div&gt;</description><author>MikeHoney</author><pubDate>Tue, 26 Mar 2013 22:37:44 GMT</pubDate><guid isPermaLink="false">New Post: Can you add Standard Output messages? 20130326103744P</guid></item><item><title>New Post: Can you add a "SwitchPartition" function?</title><link>http://sqlpartitionmgmt.codeplex.com/discussions/437431</link><description>&lt;div style="line-height: normal;"&gt;I think it would be useful to add a &amp;quot;SwitchPartition&amp;quot; function to avoid having to find the partition number and then call ALTER TABLE ... SWITCH following a staging table load.&lt;br /&gt;
&lt;br /&gt;
For my SSIS package I had to:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;define a variable for Partition Number&lt;/li&gt;
&lt;li&gt;populate with the results of a variable-driven query e.g. SELECT CAST ( $partition.&lt;a href="'2012-06-29'" rel="nofollow"&gt;InvestmentStructureExposures&lt;/a&gt; AS NVARCHAR(250) )&lt;/li&gt;
&lt;li&gt;
use the Partition Number to generate another variable-driven SQL for the ALTER TABLE ... SWITCH&lt;br /&gt;
&lt;/li&gt;
&lt;/ul&gt;
It strikes me that all the required sub-functions, parameters etc are already there to allow adding this function into the code.  This would mean one last call to your module could take care of that and save a bit of package complexity. &lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
Mike&lt;br /&gt;
&lt;/div&gt;</description><author>MikeHoney</author><pubDate>Thu, 21 Mar 2013 00:23:33 GMT</pubDate><guid isPermaLink="false">New Post: Can you add a "SwitchPartition" function? 20130321122333A</guid></item><item><title>Reviewed: Partition Management Release 3.0 (Mar 20, 2013)</title><link>http://sqlpartitionmgmt.codeplex.com/releases/view/98440#ReviewBy-MikeHoney</link><description>Rated 5 Stars &amp;#40;out of 5&amp;#41; - Worked first time and cut load&amp;#43;index time for a tricky table in half.</description><author>MikeHoney</author><pubDate>Thu, 21 Mar 2013 00:14:13 GMT</pubDate><guid isPermaLink="false">Reviewed: Partition Management Release 3.0 (Mar 20, 2013) 20130321121413A</guid></item><item><title>New Post: Documentation is a bit thin</title><link>http://sqlpartitionmgmt.codeplex.com/discussions/437284</link><description>&lt;div style="line-height: normal;"&gt;Hi Stuart&lt;br /&gt;
&lt;br /&gt;
Yes it has actually worked first time and cut the execution time for one tricky table in half. &lt;br /&gt;
&lt;br /&gt;
This table is currently 60m rows, 13GB data, 10GB indexes (Page Compression), representing about 200 days of data.  It receives a varying set of around 12 dates to refresh each day, and previously was deleting then inserting (via SSIS), then rebuilding indexes.  A perfect scenario for this component!&lt;br /&gt;
&lt;br /&gt;
A test query across a range of dates now runs 3 times faster - another win.&lt;br /&gt;
&lt;br /&gt;
Thanks again&lt;br /&gt;
Mike&lt;br /&gt;
&lt;/div&gt;</description><author>MikeHoney</author><pubDate>Thu, 21 Mar 2013 00:12:34 GMT</pubDate><guid isPermaLink="false">New Post: Documentation is a bit thin 20130321121234A</guid></item><item><title>New Post: Documentation is a bit thin</title><link>http://sqlpartitionmgmt.codeplex.com/discussions/437284</link><description>&lt;div style="line-height: normal;"&gt;
&lt;div&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;Thanks for the feedback Mike. Will try to expand discussion as suggested. Glad it has been a timesaver…&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-indent:-.25in"&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;span style=""&gt;-&lt;span style="font:7.0pt"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;Stuart&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0in 0in 0in"&gt;
&lt;p&gt;&lt;b&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:11.0pt; font-family:"&gt; MikeHoney [email removed]
&lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Tuesday, March 19, 2013 11:35 PM&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; Stuart Ozer&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; Documentation is a bit thin [SQLPartitionMgmt:437284]&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;From: MikeHoney&lt;/span&gt;&lt;/p&gt;
&lt;div id="ThreadNotificationPostBody" style="margin-bottom:24.0pt"&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;Thanks for putting this together - it has saved a lot of time.&lt;br&gt;
&lt;br&gt;
I did find the documentation a bit thin, in particular there isnt much info on each parameter or any explanantion of what the examples will do. Theres also no example of the IndexStaging command.
&lt;br&gt;
&lt;br&gt;
It would be great if that could be expanded. &lt;br&gt;
&lt;br&gt;
Thanks &lt;br&gt;
Mike&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</description><author>Stuarto</author><pubDate>Wed, 20 Mar 2013 16:05:04 GMT</pubDate><guid isPermaLink="false">New Post: Documentation is a bit thin 20130320040504P</guid></item><item><title>New Post: Documentation is a bit thin</title><link>http://sqlpartitionmgmt.codeplex.com/discussions/437284</link><description>&lt;div style="line-height: normal;"&gt;Thanks for putting this together - it has saved a lot of time.&lt;br /&gt;
&lt;br /&gt;
I did find the documentation a bit thin, in particular there isnt much info on each parameter or any explanantion of what the examples will do.  Theres also no example of the IndexStaging command.&lt;br /&gt;
&lt;br /&gt;
It would be great if that could be expanded.&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
Mike&lt;br /&gt;
&lt;/div&gt;</description><author>MikeHoney</author><pubDate>Wed, 20 Mar 2013 06:34:46 GMT</pubDate><guid isPermaLink="false">New Post: Documentation is a bit thin 20130320063446A</guid></item><item><title>New Post: Problem with Identity Columns</title><link>http://sqlpartitionmgmt.codeplex.com/discussions/432182</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I was recently working with the command ManagePartition /C: CreateStagingFull on a table in my database and what I've noticed is that it doesn't creates the Identity field on staging table. &lt;/p&gt;
&lt;p&gt;May be a bug with the cloning of the source table?&lt;/p&gt;
&lt;p&gt;Here is my script in sql to create the source table and then the use of ManagePartition:&lt;/p&gt;
&lt;p&gt;CREATE TABLE [Core]. [PassValueHistory] (&lt;br /&gt;
[IdPassValue] [int] IDENTITY (1,1) NOT NULL,&lt;br /&gt;
[PartitionDate] [date] NOT NULL,&lt;br /&gt;
[IdPass] [dbo]. [IDENTIFIER] NOT NULL,&lt;br /&gt;
[IdVariable] [dbo]. [IDENTIFIER] NOT NULL,&lt;br /&gt;
[ValueDateTime] [datetime] NOT NULL,&lt;br /&gt;
[Value] [sql_variant] NULL,&lt;br /&gt;
  CONSTRAINT [PK_PassValueHistory] PRIMARY KEY CLUSTERED&lt;br /&gt;
(&lt;br /&gt;
[IdPassValue] ASC,&lt;br /&gt;
[PartitionDate] ASC&lt;br /&gt;
) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)&lt;br /&gt;
)&lt;/p&gt;
&lt;p&gt;GO&lt;/p&gt;
&lt;p&gt;ALTER TABLE [Core]. [PassValueHistory] WITH NOCHECK ADD CONSTRAINT [FK_PassValueHistory_Pass] FOREIGN KEY ([IdPass], [PartitionDate])&lt;br /&gt;
REFERENCES [Core]. [PassHistory] ([IdPass], [PartitionDate])&lt;br /&gt;
GO&lt;/p&gt;
&lt;p&gt;ALTER TABLE [Core]. [PassValueHistory] NOCHECK CONSTRAINT [FK_PassValueHistory_Pass]&lt;br /&gt;
GO&lt;/p&gt;
&lt;p&gt;ALTER TABLE [Core]. [PassValueHistory] WITH CHECK ADD CONSTRAINT [FK_PassValueHistory_Variable] FOREIGN KEY ([IdVariable])&lt;br /&gt;
REFERENCES [Core]. [Variable] ([IdVariable])&lt;br /&gt;
GO&lt;/p&gt;
&lt;p&gt;ALTER TABLE [Core]. [PassValueHistory] CHECK CONSTRAINT [FK_PassValueHistory_Variable]&lt;br /&gt;
GO&lt;/p&gt;
&lt;p&gt;C: &amp;gt; ManagePartition / C: CreateStagingFull / d: DbDw / s: Core / t: PassValueHistory / p: 1 / A: staging_ValorTubo&lt;/p&gt;
&lt;p&gt;Many Thanks, Jorge&lt;/p&gt;
&lt;/div&gt;</description><author>jortacua</author><pubDate>Wed, 06 Feb 2013 12:31:50 GMT</pubDate><guid isPermaLink="false">New Post: Problem with Identity Columns 20130206123150P</guid></item><item><title>Created Issue: bug in exception management [9870]</title><link>http://sqlpartitionmgmt.codeplex.com/workitem/9870</link><description>A new bug was introduced in ManagePartition.exe version 3.0.&lt;br /&gt;&lt;br /&gt;The bug is located in the Run&amp;#40;&amp;#41; method exceptionn handler at line number 235 &lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;            &amp;#125;&lt;br /&gt;            catch &amp;#40;Exception e&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                sc.Disconnect&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;                sc &amp;#61; null&amp;#59;&lt;br /&gt;                Console.WriteLine&amp;#40;e&amp;#41;&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;            sc.Disconnect&amp;#40;&amp;#41;&amp;#59; &lt;br /&gt;            sc &amp;#61; null&amp;#59;&lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;when an exception occurs, the exception handler sets sc &amp;#61; null&lt;br /&gt;then the sc.Disconnect&amp;#40;&amp;#41;&amp;#59; following the catch block fails with an &amp;#38;quot&amp;#59;Object reference not set to an instance of an object&amp;#38;quot&amp;#59;, that is caught in the Main&amp;#40;&amp;#41; exception handler level, instead of the real exception.&lt;br /&gt;&lt;br /&gt;in version 2.0 a there was a throw at the end of the catch block.&lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;            catch &amp;#40;Exception ex&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                sc.Disconnect&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;                sc &amp;#61; null&amp;#59; &lt;br /&gt;                throw ex&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;            sc.Disconnect&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;            sc &amp;#61; null&amp;#59;&lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;</description><author>smurru</author><pubDate>Thu, 24 Jan 2013 10:12:27 GMT</pubDate><guid isPermaLink="false">Created Issue: bug in exception management [9870] 20130124101227A</guid></item><item><title>Updated Release: Partition Management Release 3.0 (Nov 28, 2012)</title><link>http://sqlpartitionmgmt.codeplex.com/releases/view/98440</link><description>&lt;div class="wikidoc"&gt;Release 3.0 adds support for SQL Server 2012 and is backward compatible with SQL Server 2008 and 2005.  The release consists of:&lt;br /&gt;• A Readme file &lt;br /&gt;• The Executable &lt;br /&gt;• The source code (Visual Studio project) &lt;br /&gt;&lt;br /&gt;Enhancements include:&lt;br /&gt;-- Support for Columnstore indexes in SQL Server 2012&lt;br /&gt;-- Ability to create TSQL scripts for staging table and index creation operations&lt;br /&gt;-- Full support for global date and time formats, locale independent&lt;br /&gt;-- Support for binary partitioning column types&lt;br /&gt;-- Fixes to issues reported in v2&lt;br /&gt;&lt;br /&gt;Test scripts for SQL Server 2012, 2008 and 2005 are included.&lt;br /&gt;&lt;br /&gt;Read the ReadMe file for more details, prerequisites, and documentation.&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>stuarto</author><pubDate>Thu, 29 Nov 2012 17:41:24 GMT</pubDate><guid isPermaLink="false">Updated Release: Partition Management Release 3.0 (Nov 28, 2012) 20121129054124P</guid></item><item><title>Released: Partition Management Release 3.0 (Nov 28, 2012)</title><link>http://sqlpartitionmgmt.codeplex.com/releases/view/98440</link><description>
&lt;div class="wikidoc"&gt;Release 3.0 adds support for SQL Server 2012 and is backward compatible with SQL Server 2008 and 2005. The release consists of:&lt;br&gt;
• A Readme file &lt;br&gt;
• The Executable &lt;br&gt;
• The source code (Visual Studio project) &lt;br&gt;
&lt;br&gt;
Enhancements include:&lt;br&gt;
-- Support for Columnstore indexes in SQL Server 2012&lt;br&gt;
-- Ability to create TSQL scripts for staging table and index creation operations&lt;br&gt;
-- Full support for global date and time formats, locale independent&lt;br&gt;
-- Support for binary partitioning column types&lt;br&gt;
-- Fixes to issues reported in v2&lt;br&gt;
&lt;br&gt;
Test scripts for SQL Server 2012, 2008 and 2005 are included.&lt;br&gt;
&lt;br&gt;
Read the ReadMe file for more details, prerequisites, and documentation.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
</description><author></author><pubDate>Thu, 29 Nov 2012 17:41:24 GMT</pubDate><guid isPermaLink="false">Released: Partition Management Release 3.0 (Nov 28, 2012) 20121129054124P</guid></item><item><title>New Post: ALTER TABLE SWITCH statement failed..</title><link>http://sqlpartitionmgmt.codeplex.com/discussions/287481</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Fixed in version 3.0&lt;/p&gt;
&lt;/div&gt;</description><author>stuarto</author><pubDate>Thu, 29 Nov 2012 04:48:22 GMT</pubDate><guid isPermaLink="false">New Post: ALTER TABLE SWITCH statement failed.. 20121129044822A</guid></item><item><title>New Post: ALTER TABLE SWITCH statement failed. Check constraints or partition function of source table xxx allows values that are not allowed by check constraints or partition function on target table yyy.</title><link>http://sqlpartitionmgmt.codeplex.com/discussions/402894</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Fixed in version 3.0&lt;/p&gt;
&lt;/div&gt;</description><author>stuarto</author><pubDate>Thu, 29 Nov 2012 04:47:48 GMT</pubDate><guid isPermaLink="false">New Post: ALTER TABLE SWITCH statement failed. Check constraints or partition function of source table xxx allows values that are not allowed by check constraints or partition function on target table yyy. 20121129044748A</guid></item><item><title>New Post: Does not seem to support TEXT type columns</title><link>http://sqlpartitionmgmt.codeplex.com/discussions/273293</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Fixed in version 3.0&lt;/p&gt;
&lt;/div&gt;</description><author>stuarto</author><pubDate>Thu, 29 Nov 2012 04:47:25 GMT</pubDate><guid isPermaLink="false">New Post: Does not seem to support TEXT type columns 20121129044725A</guid></item><item><title>New Post: SQL 2008 Scheme instead of FileGroup</title><link>http://sqlpartitionmgmt.codeplex.com/discussions/210371</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Fixed in version 3.0.&lt;/p&gt;
&lt;/div&gt;</description><author>stuarto</author><pubDate>Thu, 29 Nov 2012 04:47:05 GMT</pubDate><guid isPermaLink="false">New Post: SQL 2008 Scheme instead of FileGroup 20121129044705A</guid></item><item><title>Closed Issue: Invalid Constraints when server not using US format dates [5782]</title><link>http://sqlpartitionmgmt.codeplex.com/workitem/5782</link><description>&amp;#60;p&amp;#62;Hello,&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;Love this util. But I had a major issue with it. Being outside the US of A, I don&amp;#38;&amp;#35;39&amp;#59;t use MM&amp;#47;dd&amp;#47;YYYY format dates.  Because I run into a lot of US dates format&amp;#47;converting problems I set all my SQL servers to use ISO like date format, yyyy-MM-dd. Also avoids user confusion with reports..&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;I found that your util can create invalid constraints on the slide out tables &amp;#40;and presumable will do the same on the staging&amp;#41; as it inserts the constraints in American style formatted dates.  This causes the util to create a slide out table that can&amp;#38;&amp;#35;39&amp;#59;t have partition data switched to. I&amp;#38;&amp;#35;39&amp;#59;ve updated the  CreateStgPartitionCheck&amp;#40;&amp;#41; in the source code so that if the partition column is SqlDateType.DateTime &amp;#40;The only sql data type I use for partitioning..&amp;#41; then it will properly format the string and works ok for me now.&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;So now the construct for the min value predicate looks a little like this&amp;#58;  &amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#47;&amp;#47; Construct the minimum value predicate string in the check constraint definition&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;            if &amp;#40;partitionNumber &amp;#38;gt&amp;#59; 1&amp;#41;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;                &amp;#47;&amp;#47; 2010-01-22 Added By Yussuf Khan so it can cope with non US format DateTime formats &amp;#40;I don&amp;#38;&amp;#35;39&amp;#59;t use other datatypes for my partition columns so only coding datetime&amp;#41;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;                if &amp;#40;partitionColumnType &amp;#61;&amp;#61; SqlDataType.DateTime&amp;#41;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;                &amp;#123;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;                    &amp;#47;&amp;#47;now it seems for datetime it will return this in US format, dd&amp;#47;MM&amp;#47;yyyy&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;                    &amp;#47;&amp;#47;need to convert to more universal standard, yyyy-MM-dd , which SQL server detects ok no matter what the locale &amp;#40;well in my experience anyways&amp;#33;&amp;#41;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;                    dtDateBuilder &amp;#61; &amp;#40;DateTime&amp;#41;pf.RangeValues&amp;#91;partitionNumber - 2&amp;#93;&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;                    strDateBuilder &amp;#61; dtDateBuilder.ToString&amp;#40;&amp;#38;quot&amp;#59;yyyy-MM-dd hh&amp;#58;mm&amp;#58;ss.fff&amp;#38;quot&amp;#59;&amp;#41;&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;                    leftBoundary &amp;#61; partitionColumnName &amp;#43; &amp;#40;&amp;#40;pf.RangeType &amp;#61;&amp;#61; RangeType.Right&amp;#41; &amp;#63; &amp;#38;quot&amp;#59;&amp;#38;gt&amp;#59;&amp;#61;&amp;#38;quot&amp;#59; &amp;#58; &amp;#38;quot&amp;#59;&amp;#38;gt&amp;#59;&amp;#38;quot&amp;#59;&amp;#41; &amp;#43; &amp;#38;quot&amp;#59;N&amp;#38;&amp;#35;39&amp;#59;&amp;#38;quot&amp;#59; &amp;#43; strDateBuilder &amp;#43; &amp;#38;quot&amp;#59;&amp;#38;&amp;#35;39&amp;#59;&amp;#38;quot&amp;#59;&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;                &amp;#125;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;                else if &amp;#40;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;                    &amp;#40;partitionColumnType &amp;#61;&amp;#61; SqlDataType.Date&amp;#41; &amp;#124;&amp;#124;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;                    &amp;#40;partitionColumnType &amp;#61;&amp;#61; SqlDataType.Time&amp;#41; &amp;#124;&amp;#124;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;I&amp;#38;&amp;#35;39&amp;#59;ve done a similiar thing to the Max value string constraint builder too. I&amp;#38;&amp;#35;39&amp;#59;m not really a .Net developer, and I&amp;#38;&amp;#35;39&amp;#59;ve only tested a couple of times. But this does seem to fix. Any chance you can incorporate something like this fully&amp;#63;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&lt;br /&gt;Comments: &lt;p&gt;Fixed in Version 3.0&lt;/p&gt;</description><author>Stuarto</author><pubDate>Thu, 29 Nov 2012 04:46:22 GMT</pubDate><guid isPermaLink="false">Closed Issue: Invalid Constraints when server not using US format dates [5782] 20121129044622A</guid></item><item><title>Updated Release: Partition Management Release 3.0 (Nov 28, 2012)</title><link>http://sqlpartitionmgmt.codeplex.com/releases/view/98440</link><description>&lt;div class="wikidoc"&gt;Release 3.0 adds support for SQL Server 2012 and is backward compatible with SQL Server 2008 and 2005.  The release consists of:&lt;br /&gt;• A Readme file &lt;br /&gt;• The Executable &lt;br /&gt;• The source code (Visual Studio project) &lt;br /&gt;&lt;br /&gt;Enhancements include:&lt;br /&gt;-- Support for Columnstore indexes in SQL Server 2012&lt;br /&gt;-- Ability to create TSQL scripts for staging table and index creation operations&lt;br /&gt;-- Full support for global date and time formats, locale independent&lt;br /&gt;-- Support for binary partitioning column types&lt;br /&gt;-- Fixes to issues reported in v2&lt;br /&gt;&lt;br /&gt;Test scripts for SQL Server 2012, 2008 and 2005 are included.&lt;br /&gt;&lt;br /&gt;Read the ReadMe file for more details, prerequisites, and documentation.&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>stuarto</author><pubDate>Thu, 29 Nov 2012 04:44:19 GMT</pubDate><guid isPermaLink="false">Updated Release: Partition Management Release 3.0 (Nov 28, 2012) 20121129044419A</guid></item><item><title>Released: Partition Management Release 3.0 (Nov 28, 2012)</title><link>http://sqlpartitionmgmt.codeplex.com/releases/view/98440</link><description>
&lt;div class="wikidoc"&gt;Release 3.0 adds support for SQL Server 2012 and is backward compatible with SQL Server 2008 and 2005. The release consists of:&lt;br&gt;
• A Readme file &lt;br&gt;
• The Executable &lt;br&gt;
• The source code (Visual Studio project) &lt;br&gt;
&lt;br&gt;
Enhancements include:&lt;br&gt;
-- Support for Columnstore indexes in SQL Server 2012&lt;br&gt;
-- Ability to create TSQL scripts for staging table and index creation operations&lt;br&gt;
-- Full support for global date and time formats, locale independent&lt;br&gt;
-- Support for binary partitioning column types&lt;br&gt;
-- Fixes to issues reported in v2&lt;br&gt;
&lt;br&gt;
Test scripts for SQL Server 2012, 2008 and 2005 are included.&lt;br&gt;
&lt;br&gt;
Read the ReadMe file for more details, prerequisites, and documentation.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
</description><author></author><pubDate>Thu, 29 Nov 2012 04:44:19 GMT</pubDate><guid isPermaLink="false">Released: Partition Management Release 3.0 (Nov 28, 2012) 20121129044419A</guid></item></channel></rss>