<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; Beginning New Weekly Series &#8211; Memory Lane &#8211; #001</title>
	<atom:link href="http://blog.sqlauthority.com/2012/11/03/sql-server-beginning-new-weekly-series-memory-lane-001/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2012/11/03/sql-server-beginning-new-weekly-series-memory-lane-001/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Sat, 25 May 2013 01:31:40 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: pora</title>
		<link>http://blog.sqlauthority.com/2012/11/03/sql-server-beginning-new-weekly-series-memory-lane-001/#comment-413727</link>
		<dc:creator><![CDATA[pora]]></dc:creator>
		<pubDate>Sun, 27 Jan 2013 14:28:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=21390#comment-413727</guid>
		<description><![CDATA[Hi Pinal,
I have question regarding Partitioning to existing table.

We have three Database - SearchDb, MSDB1, MSDB2

SearchDB has table called - KeyTab and it has PK field called ID which has Identity and another column called AU_ID which is served as
Key Field to join another table and another table has same field.
We are planning to add new column called Group ID and make it as Parition Column, this group id will consist in a three Range/group
1, 2, 3 which will we our partition.
Once i add the column Group Id into table. I need to create the partition into this eisting table.

1) I will add the three file group into existing table using following:

2) Create the partition Function

3) Create the Partition Scheme

Now i need to create the procedure to Insert the data into different Partition using following criteria:

Check the AU_ID into SearchDB.KeyTab and compare with MSDB1.AUSUMTab and 
if StartDate &gt; today&#039;s Date then Insert into Partition 1 of SearchDB Database of Partitioned Table KeyTab
if StartDate &lt; today&#039;s Date then Insert into Partition 2 of SearchDB Database of Partitioned Table KeyTab
and another logic for EndDate i need to add as
if EndDate &lt;  today&#039;s Date then Insert into Partition 3 of SearchDB Database of Partitioned Table KeyTab

Could you please guide me that my above steps are right and also how i cn write the Procedure to Isert data into Partition?

Thanks,]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,<br />
I have question regarding Partitioning to existing table.</p>
<p>We have three Database &#8211; SearchDb, MSDB1, MSDB2</p>
<p>SearchDB has table called &#8211; KeyTab and it has PK field called ID which has Identity and another column called AU_ID which is served as<br />
Key Field to join another table and another table has same field.<br />
We are planning to add new column called Group ID and make it as Parition Column, this group id will consist in a three Range/group<br />
1, 2, 3 which will we our partition.<br />
Once i add the column Group Id into table. I need to create the partition into this eisting table.</p>
<p>1) I will add the three file group into existing table using following:</p>
<p>2) Create the partition Function</p>
<p>3) Create the Partition Scheme</p>
<p>Now i need to create the procedure to Insert the data into different Partition using following criteria:</p>
<p>Check the AU_ID into SearchDB.KeyTab and compare with MSDB1.AUSUMTab and<br />
if StartDate &gt; today&#8217;s Date then Insert into Partition 1 of SearchDB Database of Partitioned Table KeyTab<br />
if StartDate &lt; today&#039;s Date then Insert into Partition 2 of SearchDB Database of Partitioned Table KeyTab<br />
and another logic for EndDate i need to add as<br />
if EndDate &lt;  today&#039;s Date then Insert into Partition 3 of SearchDB Database of Partitioned Table KeyTab</p>
<p>Could you please guide me that my above steps are right and also how i cn write the Procedure to Isert data into Partition?</p>
<p>Thanks,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQLAuthority News &#8211; Last Post of Year 2012 &#171; SQL Server Journey with SQL Authority</title>
		<link>http://blog.sqlauthority.com/2012/11/03/sql-server-beginning-new-weekly-series-memory-lane-001/#comment-401608</link>
		<dc:creator><![CDATA[SQLAuthority News &#8211; Last Post of Year 2012 &#171; SQL Server Journey with SQL Authority]]></dc:creator>
		<pubDate>Mon, 31 Dec 2012 01:31:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=21390#comment-401608</guid>
		<description><![CDATA[[...] Episode 1 &#124; Episode 2 &#124; Episode 3 &#124; Episode 4 &#124; Episode 5 &#124; Episode 6 &#124; Episode 7 &#124; Episode 8 &#124; Episode 9 [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Episode 1 | Episode 2 | Episode 3 | Episode 4 | Episode 5 | Episode 6 | Episode 7 | Episode 8 | Episode 9 [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
