<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>SQLPartitionMgmt Forum Rss Feed</title><link>http://www.codeplex.com/SQLPartitionMgmt/Thread/List.aspx</link><description>SQLPartitionMgmt Forum Rss Description</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>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>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>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;div&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;Hi Stuarto&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;I am attaching my archive table description for you.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;I think my confusion came from &lt;/span&gt;
&lt;/p&gt;
&lt;p style="text-indent:-18.0pt"&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;span style=""&gt;a)&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;Running your utility to create the staging table,&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-indent:-18.0pt"&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;span style=""&gt;b)&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;Noticing that the ItemId in the staging table was not set to identity
&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-indent:-18.0pt"&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;span style=""&gt;c)&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;Using SSMS to script the staging table as ‘drop &amp; create’&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-left:72.0pt; text-indent:-18.0pt"&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;span style=""&gt;a.&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;this is where I found the constraints to be confusing.&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&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;The way I got the staging table to work for me was to
&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-indent:-18.0pt"&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;span style=""&gt;a)&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;define it with no index or constraints&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-indent:-18.0pt"&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;span style=""&gt;b)&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;load the data&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-indent:-18.0pt"&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;span style=""&gt;c)&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;add index and constraints the constraints being in the attached stored procedure&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-indent:-18.0pt"&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;span style=""&gt;d)&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;switch it into the partition&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-indent:-18.0pt"&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;span style=""&gt;e)&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;delete index and constraints from staging table in preparation for next load&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-indent:-18.0pt"&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;span style=""&gt;f)&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;rebuild statistics on archive table&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;p&gt;&lt;span lang="EN-US" style="font-family:"&gt;Eileen Eby&lt;/span&gt;&lt;span lang="EN-US" style="color:#221E1F"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="EN-US" style="font-family:"&gt;Svc Info Developer IV&lt;/span&gt;&lt;span lang="EN-US" style="color:#221E1F"&gt;, Technical Design Team&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="EN-US" style="color:#221E1F"&gt;Hewlett-Packard Company&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="EN-US" style="color:#221E1F"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="EN-US" style="color:#221E1F"&gt;&amp;#43;44 1327 264 057 / Tel &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="EN-US" style="color:#221E1F"&gt;&amp;#43;44 7768 700 755 / Mobile &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="EN-US" style="color:#221E1F"&gt;&lt;a href="mailto:eileen.eby@hp.com"&gt;&lt;span style="color:blue"&gt;eileen.eby@hp.com&lt;/span&gt;&lt;/a&gt; / Email
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="EN-US" style="color:#221E1F"&gt;44 Farndon Rd &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="EN-US" style="color:#221E1F"&gt;Woodford Halse, Daventry, NN11 3TT&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="EN-US" style="color:#221E1F"&gt;UK&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="EN-US" style="color:#221E1F"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="EN-US" style="color:#00B050"&gt;Please consider the environment before printing this email.&lt;/span&gt;&lt;span lang="EN-US" style="color:#221E1F"&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="EN-US" style="font-size:11.0pt; font-family:"&gt;&lt;/span&gt;&lt;span lang="EN-US" style="font-size:11.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/div&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 #B5C4DF 1.0pt; padding:3.0pt 0cm 0cm 0cm"&gt;
&lt;p&gt;&lt;b&gt;&lt;span lang="EN-US" style="font-family:"&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span lang="EN-US" style="font-family:"&gt; stuarto [email removed]
&lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; 21 November 2012 23:08&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; Eby, Eileen&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; Re: SQL 2008 Scheme instead of FileGroup [SQLPartitionMgmt:210371]&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:7.5pt; font-family:"&gt;From: stuarto&lt;/span&gt;&lt;/p&gt;
&lt;div id="ThreadNotificationPostBody" style="margin-bottom:24.0pt"&gt;
&lt;p&gt;&lt;span style="font-size:7.5pt; font-family:"&gt;I expect the problem is a bug in my tool that affects operation when your table contains a long text or long binary column. I tested you example on a simple table and received no errors. Can you send me or post
 the DDL for the original table and I will verify that my upcoming fix will address this situation?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:7.5pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</description><author>kilvroch</author><pubDate>Thu, 22 Nov 2012 08:50:12 GMT</pubDate><guid isPermaLink="false">New Post: SQL 2008 Scheme instead of FileGroup 20121122085012A</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;I expect the problem is a bug in my tool that affects operation when your table contains a long text or long binary column.&amp;nbsp;&amp;nbsp; I tested you example on a simple table and received no errors.&amp;nbsp; Can you send me or post the DDL for the original table and I will
 verify that my upcoming fix will address this situation?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;</description><author>stuarto</author><pubDate>Wed, 21 Nov 2012 23:07:49 GMT</pubDate><guid isPermaLink="false">New Post: SQL 2008 Scheme instead of FileGroup 20121121110749P</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;This behavior&amp;nbsp;is a bug in the current code and affects tables with all long types such as Text, Ntext, varchar(max), varbinary(max), etc.&amp;nbsp; I will be releasing a new version shortly with this fixed.&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;</description><author>stuarto</author><pubDate>Wed, 21 Nov 2012 22:56:41 GMT</pubDate><guid isPermaLink="false">New Post: Does not seem to support TEXT type columns 20121121105641P</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;div&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;Thank you ….&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;p&gt;&lt;span lang="EN-US" style="font-family:"&gt;Eileen Eby&lt;/span&gt;&lt;span lang="EN-US" style="color:#221E1F"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="EN-US" style="font-family:"&gt;Svc Info Developer IV&lt;/span&gt;&lt;span lang="EN-US" style="color:#221E1F"&gt;, Technical Design Team&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="EN-US" style="color:#221E1F"&gt;Hewlett-Packard Company&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="EN-US" style="color:#221E1F"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="EN-US" style="color:#221E1F"&gt;&amp;#43;44 1327 264 057 / Tel &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="EN-US" style="color:#221E1F"&gt;&amp;#43;44 7768 700 755 / Mobile &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="EN-US" style="color:#221E1F"&gt;&lt;a href="mailto:eileen.eby@hp.com"&gt;&lt;span style="color:blue"&gt;eileen.eby@hp.com&lt;/span&gt;&lt;/a&gt; / Email
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="EN-US" style="color:#221E1F"&gt;44 Farndon Rd &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="EN-US" style="color:#221E1F"&gt;Woodford Halse, Daventry, NN11 3TT&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="EN-US" style="color:#221E1F"&gt;UK&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="EN-US" style="color:#221E1F"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="EN-US" style="color:#00B050"&gt;Please consider the environment before printing this email.&lt;/span&gt;&lt;span lang="EN-US" style="color:#221E1F"&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="EN-US" style="font-size:11.0pt; font-family:"&gt;&lt;/span&gt;&lt;span lang="EN-US" style="font-size:11.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/div&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 #B5C4DF 1.0pt; padding:3.0pt 0cm 0cm 0cm"&gt;
&lt;p&gt;&lt;b&gt;&lt;span lang="EN-US" style="font-family:"&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span lang="EN-US" style="font-family:"&gt; stuartozer [email removed]
&lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; 17 November 2012 05:57&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; Eby, Eileen&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; Re: ALTER TABLE SWITCH statement failed. Check constraints or partition function of source table xxx ... [SQLPartitionMgmt:402894]&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:7.5pt; font-family:"&gt;From: stuartozer&lt;/span&gt;&lt;/p&gt;
&lt;div id="ThreadNotificationPostBody" style="margin-bottom:24.0pt"&gt;
&lt;p&gt;&lt;span style="font-size:7.5pt; font-family:"&gt;I confirmed that Partition Management tool will always create the constraint WITH CHECK, instead of using NOCHECK, and in your test case that will work. (Manually editing the DDL to add a WITH NOCHECK to the partition-specific
 staging table's check constraint prevents SQL Server from verifying that any rows in the staging table meet the constraint condition, and will then not allow a switch.)&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</description><author>kilvroch</author><pubDate>Sat, 17 Nov 2012 13:53:37 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. 20121117015337P</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;I confirmed that Partition Management tool will always create the constraint WITH CHECK, instead of using NOCHECK, and in your test case that will work.&amp;nbsp; (Manually editing the DDL to add a WITH NOCHECK to the partition-specific staging table's check constraint
 prevents SQL Server from verifying that any rows in the staging table meet the constraint condition, and will then not allow a switch.)&lt;/p&gt;
&lt;/div&gt;</description><author>stuartozer</author><pubDate>Sat, 17 Nov 2012 05:56:47 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. 20121117055647A</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;div&gt;
&lt;p style="text-autospace:none"&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;The error is that
&lt;span style="background:yellow"&gt;WITH NOCHECK&lt;/span&gt; is used in the Check Constraint definition. The script below will work if you use WITH CHECK instead when you add the constraint on the staging table. I’ll have to investigate why the tool is generating a
 NOCHECK in your case… I can’t think of a situation where a WITH NOCHECK constraint should be applied!&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-autospace:none"&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-indent:-.25in; text-autospace:none"&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:9.5pt; font-family:Consolas; color:teal"&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; kilvroch [email removed]
&lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Monday, November 12, 2012 9:06 AM&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; Stuart Ozer&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; ALTER TABLE SWITCH statement failed. Check constraints or partition function of source table xxx ... [SQLPartitionMgmt:402894]&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: kilvroch&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;Can someone please help? I have googled and found that the constraint 'is not null' is required as well as the constraint on the column.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;&lt;br&gt;
My partition function and scheme:&lt;br&gt;
CREATE PARTITION FUNCTION [ItemsArchivePF1](int) AS RANGE right FOR VALUES (20111006)&lt;br&gt;
GO&lt;br&gt;
CREATE PARTITION SCHEME [ItemsArchivePS1]&lt;br&gt;
AS PARTITION [ItemsArchivePF1] ALL TO ([PRIMARY])&lt;br&gt;
GO&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;My partitioned table's DROP/DEFINE
&lt;br&gt;
SET ANSI_NULLS ON&lt;br&gt;
GO&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;SET QUOTED_IDENTIFIER ON&lt;br&gt;
GO&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;SET ANSI_PADDING ON&lt;br&gt;
GO&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;CREATE TABLE [dbo].[tblItemsArchive](&lt;br&gt;
[ItemDateId] [int] NOT NULL,&lt;br&gt;
[ItemSourceBank] [char](3) NOT NULL,&lt;br&gt;
[ItemFileId] [int] NOT NULL,&lt;br&gt;
[ItemId] [bigint] identity(1,1) NOT NULL,&lt;br&gt;
[ItemDocType] [char](1) NOT NULL,&lt;br&gt;
[ItemIsn] [char](12) NOT NULL,&lt;br&gt;
[ItemPkt] [char](2) NOT NULL,&lt;br&gt;
[ItemRejectReason] [char](2) NOT NULL,&lt;br&gt;
...&lt;br&gt;
[ItemKB_Count] [int] NOT NULL&lt;br&gt;
CONSTRAINT itemPK PRIMARY KEY CLUSTERED (ItemDateId, ItemSourceBank, ItemId)&lt;br&gt;
) ON [ItemsArchivePS1]([ItemDateId])&lt;br&gt;
WITH&lt;br&gt;
(&lt;br&gt;
DATA_COMPRESSION = PAGE&lt;br&gt;
)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;SET ANSI_PADDING OFF&lt;br&gt;
GO&lt;br&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;ObjectName IndexName IndexID PartitionScheme PartitionNumber FileGroupName LowerBoundaryValue UpperBoundaryValue Range Rows&lt;br&gt;
tblItemsArchive itemPK 1 ItemsArchivePS1 1 PRIMARY NULL 20111006 RIGHT 0&lt;br&gt;
tblItemsArchive itemPK 1 ItemsArchivePS1 2 PRIMARY 20111006 NULL RIGHT 0&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;When I run PartitionManager, the staging table created does not make the ItemId an identity field, so I manually changed it.&lt;br&gt;
It is important for the ItemId to be an identity field in the daily table, but in the archive, it is okay not to be unique.&lt;br&gt;
The constraint generated by PartitionManager reads:&lt;br&gt;
ALTER TABLE [dbo].[staging_tblItemsArchive] &lt;span style="background:yellow"&gt;WITH NOCHECK&lt;/span&gt; ADD CONSTRAINT [chk_myStagingTbl_partition_2] CHECK (([ItemDateId]&amp;gt;=(20111006)))&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;From googling other people who have had the same experience have added the equivalent of &amp;quot;[ItemDateId is not null and &amp;quot; to the constraint.&lt;br&gt;
I have tried both ways and am going absolutley nuts.&lt;br&gt;
What am I doing wrong?&lt;br&gt;
My tables do not allow nulls in any of the fields.&lt;br&gt;
Can my problem be with those 'ansi_padding' and 'ansi_nulls' statements?&lt;br&gt;
Can my problem be with the identity column?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;I use SSIS to load the staging table from a flat file, then attempt to switch it to partition 2.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;I get:&lt;br&gt;
ALTER TABLE staging_tblItemsArchive SWITCH TO tblItemsArchive PARTITION 2 ;&lt;br&gt;
Msg 4972, Level 16, State 1, Line 1&lt;br&gt;
ALTER TABLE SWITCH statement failed. Check constraints or partition function of source table 'PATS.dbo.staging_tblItemsArchive' allows values that are not allowed by check constraints or partition function on target table 'PATS.dbo.tblItemsArchive'.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;I am pulling my hair out.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;&lt;br&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</description><author>Stuarto</author><pubDate>Fri, 16 Nov 2012 22:57:27 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. 20121116105727P</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;Can someone please help? I have googled and found that the constraint 'is not null' is required as well as the constraint on the column.&lt;/p&gt;
&lt;p&gt;&lt;br&gt;
My partition function and scheme:&lt;br&gt;
CREATE PARTITION FUNCTION [ItemsArchivePF1](int) AS RANGE right FOR VALUES (20111006)&lt;br&gt;
GO&lt;br&gt;
CREATE PARTITION SCHEME [ItemsArchivePS1]&lt;br&gt;
AS PARTITION [ItemsArchivePF1] ALL TO ([PRIMARY])&lt;br&gt;
GO&lt;/p&gt;
&lt;p&gt;&amp;nbsp;My partitioned table's DROP/DEFINE &lt;br&gt;
SET ANSI_NULLS ON&lt;br&gt;
GO&lt;/p&gt;
&lt;p&gt;SET QUOTED_IDENTIFIER ON&lt;br&gt;
GO&lt;/p&gt;
&lt;p&gt;SET ANSI_PADDING ON&lt;br&gt;
GO&lt;/p&gt;
&lt;p&gt;CREATE TABLE [dbo].[tblItemsArchive](&lt;br&gt;
&amp;nbsp;[ItemDateId] [int] NOT NULL,&lt;br&gt;
&amp;nbsp;[ItemSourceBank] [char](3) NOT NULL,&lt;br&gt;
&amp;nbsp;[ItemFileId] [int] NOT NULL,&lt;br&gt;
&amp;nbsp;[ItemId] [bigint]&amp;nbsp; identity(1,1) NOT NULL,&lt;br&gt;
&amp;nbsp;[ItemDocType] [char](1) NOT NULL,&lt;br&gt;
&amp;nbsp;[ItemIsn] [char](12) NOT NULL,&lt;br&gt;
&amp;nbsp;[ItemPkt] [char](2) NOT NULL,&lt;br&gt;
&amp;nbsp;[ItemRejectReason] [char](2) NOT NULL,&lt;br&gt;
...&lt;br&gt;
&amp;nbsp;[ItemKB_Count] [int] NOT NULL&lt;br&gt;
&amp;nbsp;CONSTRAINT itemPK PRIMARY KEY CLUSTERED (ItemDateId, ItemSourceBank, ItemId)&lt;br&gt;
) ON [ItemsArchivePS1]([ItemDateId])&lt;br&gt;
WITH&lt;br&gt;
(&lt;br&gt;
DATA_COMPRESSION = PAGE&lt;br&gt;
)&lt;/p&gt;
&lt;p&gt;SET ANSI_PADDING OFF&lt;br&gt;
GO&lt;br&gt;
&amp;nbsp;&lt;/p&gt;
&lt;p&gt;ObjectName&amp;nbsp;IndexName&amp;nbsp;IndexID&amp;nbsp;PartitionScheme&amp;nbsp;PartitionNumber&amp;nbsp;FileGroupName&amp;nbsp;LowerBoundaryValue&amp;nbsp;UpperBoundaryValue&amp;nbsp;Range&amp;nbsp;Rows&lt;br&gt;
tblItemsArchive&amp;nbsp;itemPK&amp;nbsp;1&amp;nbsp;ItemsArchivePS1&amp;nbsp;1&amp;nbsp;PRIMARY&amp;nbsp;NULL&amp;nbsp;20111006&amp;nbsp;RIGHT&amp;nbsp;0&lt;br&gt;
tblItemsArchive&amp;nbsp;itemPK&amp;nbsp;1&amp;nbsp;ItemsArchivePS1&amp;nbsp;2&amp;nbsp;PRIMARY&amp;nbsp;20111006&amp;nbsp;NULL&amp;nbsp;RIGHT&amp;nbsp;0&lt;/p&gt;
&lt;p&gt;When I run PartitionManager, the staging table created does not make the ItemId an identity field, so I manually changed it.&lt;br&gt;
It is important for the ItemId to be an identity field in the daily table, but in the archive, it is okay not to be unique.&lt;br&gt;
The constraint generated by PartitionManager reads:&lt;br&gt;
ALTER TABLE [dbo].[staging_tblItemsArchive]&amp;nbsp; WITH NOCHECK ADD&amp;nbsp; CONSTRAINT [chk_myStagingTbl_partition_2] CHECK&amp;nbsp; (([ItemDateId]&amp;gt;=(20111006)))&lt;/p&gt;
&lt;p&gt;From googling other people who have had the same experience have added the equivalent of &amp;quot;[ItemDateId is not null and &amp;quot; to the constraint.&lt;br&gt;
I have tried both ways and am going absolutley nuts.&lt;br&gt;
What am I doing wrong?&lt;br&gt;
My tables do not allow nulls in any of the fields.&lt;br&gt;
Can my problem be with those 'ansi_padding' and 'ansi_nulls' statements?&lt;br&gt;
Can my problem be with the identity column?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I use SSIS to load the staging table from a flat file, then attempt to switch it to partition 2.&lt;/p&gt;
&lt;p&gt;I get:&lt;br&gt;
ALTER TABLE staging_tblItemsArchive SWITCH&amp;nbsp; TO tblItemsArchive PARTITION 2 ;&lt;br&gt;
Msg 4972, Level 16, State 1, Line 1&lt;br&gt;
ALTER TABLE SWITCH statement failed. Check constraints or partition function of source table 'PATS.dbo.staging_tblItemsArchive' allows values that are not allowed by check constraints or partition function on target table 'PATS.dbo.tblItemsArchive'.&lt;/p&gt;
&lt;p&gt;I am pulling my hair out.&lt;/p&gt;
&lt;p&gt;&lt;br&gt;
&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;</description><author>kilvroch</author><pubDate>Mon, 12 Nov 2012 17:05:28 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. 20121112050528P</guid></item></channel></rss>