<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SnipTricHint</title>
	<atom:link href="http://sniptrichint.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://sniptrichint.com</link>
	<description>Your 5 minutes IT knowledge improver.</description>
	<lastBuildDate>Mon, 31 Jul 2017 08:25:41 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.8.11</generator>
	<item>
		<title>Grant on tables using wildcards</title>
		<link>http://sniptrichint.com/grant-tables-using-wildcards/</link>
		<comments>http://sniptrichint.com/grant-tables-using-wildcards/#respond</comments>
		<pubDate>Mon, 31 Jul 2017 08:25:41 +0000</pubDate>
		<dc:creator><![CDATA[xavsio4]]></dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://sniptrichint.com/?p=699</guid>
		<description><![CDATA[<p>Sometimes you have to make a lot of grants for a specific user. It could be a pain in the neck with a lot of copy/paste. Here goes a little loop to ease it all. begin for rec in (select object_name from user_objects where object_name like 'PREFIX_%' and object_type = 'TABLE') loop execute immediate 'grant...</p>
<div class="read-more-link"><a href="http://sniptrichint.com/grant-tables-using-wildcards/">Read More</a></div>
<p>The post <a rel="nofollow" href="http://sniptrichint.com/grant-tables-using-wildcards/">Grant on tables using wildcards</a> appeared first on <a rel="nofollow" href="http://sniptrichint.com">SnipTricHint</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Sometimes you have to make a lot of grants for a specific user. It could be a pain in the neck with a lot of copy/paste.</p>
<p>Here goes a little loop to ease it all.</p>
<p><code><br />
begin<br />
  for rec in (select object_name from user_objects where object_name like 'PREFIX_%' and object_type = 'TABLE') loop<br />
      execute immediate 'grant select on ' || rec.object_name || '  to THE_USER';<br />
  end loop;<br />
end;<br />
</code></p>
<p>The post <a rel="nofollow" href="http://sniptrichint.com/grant-tables-using-wildcards/">Grant on tables using wildcards</a> appeared first on <a rel="nofollow" href="http://sniptrichint.com">SnipTricHint</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://sniptrichint.com/grant-tables-using-wildcards/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get table space details from schema in Oracle</title>
		<link>http://sniptrichint.com/get-table-space-details-schema-oracle/</link>
		<comments>http://sniptrichint.com/get-table-space-details-schema-oracle/#respond</comments>
		<pubDate>Mon, 08 May 2017 13:31:08 +0000</pubDate>
		<dc:creator><![CDATA[xavsio4]]></dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://sniptrichint.com/?p=696</guid>
		<description><![CDATA[<p>select df.tablespace_name &#34;Tablespace&#34;, totalusedspace &#34;Used MB&#34;, (df.totalspace - tu.totalusedspace) &#34;Free MB&#34;, df.totalspace &#34;Total MB&#34;, round(100 * ( (df.totalspace - tu.totalusedspace)/ df.totalspace)) &#34;Pct. Free&#34; from (select tablespace_name, round(sum(bytes) / 1048576) TotalSpace from dba_data_files group by tablespace_name) df, (select round(sum(bytes)/(1024*1024)) totalusedspace, tablespace_name from dba_segments group by tablespace_name) tu where df.tablespace_name = tu.tablespace_name ;</p>
<p>The post <a rel="nofollow" href="http://sniptrichint.com/get-table-space-details-schema-oracle/">Get table space details from schema in Oracle</a> appeared first on <a rel="nofollow" href="http://sniptrichint.com">SnipTricHint</a>.</p>
]]></description>
				<content:encoded><![CDATA[<pre class="wp-code-highlight prettyprint">
select df.tablespace_name &quot;Tablespace&quot;,
totalusedspace &quot;Used MB&quot;,
(df.totalspace - tu.totalusedspace) &quot;Free MB&quot;,
df.totalspace &quot;Total MB&quot;,
round(100 * ( (df.totalspace - tu.totalusedspace)/ df.totalspace))
&quot;Pct. Free&quot;
from
(select tablespace_name,
round(sum(bytes) / 1048576) TotalSpace
from dba_data_files 
group by tablespace_name) df,
(select round(sum(bytes)/(1024*1024)) totalusedspace, tablespace_name
from dba_segments 
group by tablespace_name) tu
where df.tablespace_name = tu.tablespace_name ;
</pre>
<p>The post <a rel="nofollow" href="http://sniptrichint.com/get-table-space-details-schema-oracle/">Get table space details from schema in Oracle</a> appeared first on <a rel="nofollow" href="http://sniptrichint.com">SnipTricHint</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://sniptrichint.com/get-table-space-details-schema-oracle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get parameter from the Oracle database</title>
		<link>http://sniptrichint.com/get-parameter-oracle-database/</link>
		<comments>http://sniptrichint.com/get-parameter-oracle-database/#respond</comments>
		<pubDate>Thu, 02 Feb 2017 16:12:39 +0000</pubDate>
		<dc:creator><![CDATA[xavsio4]]></dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://sniptrichint.com/?p=677</guid>
		<description><![CDATA[<p>select * from V$PARAMETER where NAME = &#039;smtp_out_server&#039;</p>
<p>The post <a rel="nofollow" href="http://sniptrichint.com/get-parameter-oracle-database/">Get parameter from the Oracle database</a> appeared first on <a rel="nofollow" href="http://sniptrichint.com">SnipTricHint</a>.</p>
]]></description>
				<content:encoded><![CDATA[<pre class="wp-code-highlight prettyprint">select *
 from V$PARAMETER
where NAME = &#039;smtp_out_server&#039;</pre>
<p>The post <a rel="nofollow" href="http://sniptrichint.com/get-parameter-oracle-database/">Get parameter from the Oracle database</a> appeared first on <a rel="nofollow" href="http://sniptrichint.com">SnipTricHint</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://sniptrichint.com/get-parameter-oracle-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A regexp example in Oracle</title>
		<link>http://sniptrichint.com/regexp-example-oracle/</link>
		<comments>http://sniptrichint.com/regexp-example-oracle/#respond</comments>
		<pubDate>Tue, 10 Feb 2015 10:52:55 +0000</pubDate>
		<dc:creator><![CDATA[xavsio4]]></dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Snippets]]></category>

		<guid isPermaLink="false">http://sniptrichint.com/?p=664</guid>
		<description><![CDATA[<p>Lately I had to extract a variable series of numbers within a string. The string was like this &#8216;GG-78-45687&#8217; or &#8216;FD-02-45679444-F4&#8217;. In the first case I needed to get &#8216;45687&#8217; and in the other case I needed to get &#8216;45679444&#8217;. Sometimes there are trailing caracters and the length of the series of numbers is 5....</p>
<div class="read-more-link"><a href="http://sniptrichint.com/regexp-example-oracle/">Read More</a></div>
<p>The post <a rel="nofollow" href="http://sniptrichint.com/regexp-example-oracle/">A regexp example in Oracle</a> appeared first on <a rel="nofollow" href="http://sniptrichint.com">SnipTricHint</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Lately I had to extract a variable series of numbers within a string. The string was like this &#8216;GG-78-45687&#8217; or &#8216;FD-02-45679444-F4&#8217;.</p>
<p>In the first case I needed to get &#8216;45687&#8217; and in the other case I needed to get &#8216;45679444&#8217;.   Sometimes there are trailing caracters and the length of the series of numbers is 5.</p>
<p>This is the regexp function I&#8217;ve used :</p>
<pre class="wp-code-highlight prettyprint">
select regexp_substr(&#039;FD-02-45679444-F4&#039;,&#039;[0-9]{5,}&#039;) from dual;
</pre>
<p>It worked for every situation on Oracle 11g.</p>
<p>Cheers !</p>
<p>The post <a rel="nofollow" href="http://sniptrichint.com/regexp-example-oracle/">A regexp example in Oracle</a> appeared first on <a rel="nofollow" href="http://sniptrichint.com">SnipTricHint</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://sniptrichint.com/regexp-example-oracle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create a synonym in Oracle</title>
		<link>http://sniptrichint.com/create-a-synonym-in-oracle/</link>
		<comments>http://sniptrichint.com/create-a-synonym-in-oracle/#respond</comments>
		<pubDate>Wed, 05 Nov 2014 12:49:02 +0000</pubDate>
		<dc:creator><![CDATA[xavsio4]]></dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.sniptrichint.com/?p=589</guid>
		<description><![CDATA[<p>Simplify the way you use Oracle objects by creating synonyms. For example, to avoid prefixing with the schema. create synonym new_name for schema.old_name So simple.</p>
<p>The post <a rel="nofollow" href="http://sniptrichint.com/create-a-synonym-in-oracle/">Create a synonym in Oracle</a> appeared first on <a rel="nofollow" href="http://sniptrichint.com">SnipTricHint</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Simplify the way you use Oracle objects by creating synonyms. For example, to avoid prefixing with the schema.</p>
<pre class="wp-code-highlight prettyprint">
create synonym new_name for schema.old_name
</pre>
<p>So simple.</p>
<p>The post <a rel="nofollow" href="http://sniptrichint.com/create-a-synonym-in-oracle/">Create a synonym in Oracle</a> appeared first on <a rel="nofollow" href="http://sniptrichint.com">SnipTricHint</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://sniptrichint.com/create-a-synonym-in-oracle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple Table duplicate with Oracle</title>
		<link>http://sniptrichint.com/simple-table-duplicate-with-oracle/</link>
		<comments>http://sniptrichint.com/simple-table-duplicate-with-oracle/#respond</comments>
		<pubDate>Thu, 26 Jun 2014 12:31:47 +0000</pubDate>
		<dc:creator><![CDATA[xavsio4]]></dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.sniptrichint.com/?p=582</guid>
		<description><![CDATA[<p>Well, the title tells it all. &#160; --this will copy only the structure. notice the impossible where clause. create table yourTable_new as select * from yourTable where 1=0; -- this will copy the data insert into yourTable_new (select * from yourTable_f); -- this will copy the table structure AND the data. See, no impossible where...</p>
<div class="read-more-link"><a href="http://sniptrichint.com/simple-table-duplicate-with-oracle/">Read More</a></div>
<p>The post <a rel="nofollow" href="http://sniptrichint.com/simple-table-duplicate-with-oracle/">Simple Table duplicate with Oracle</a> appeared first on <a rel="nofollow" href="http://sniptrichint.com">SnipTricHint</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Well, the title tells it all.</p>
<p>&nbsp;</p>
<pre class="wp-code-highlight prettyprint">
--this will copy only the structure. notice the impossible where clause. 
create table yourTable_new as select * from yourTable where 1=0;

-- this will copy the data
insert into yourTable_new (select * from yourTable_f);

-- this will copy the table structure AND the data. See, no impossible where clause
create table yourTable_new as select * from yourTable;

</pre>
<p>Yup ! no more. That&#8217;s it ! Well&#8230;at least a way that I know. The Oracle world is so big&#8230;</p>
<p>The post <a rel="nofollow" href="http://sniptrichint.com/simple-table-duplicate-with-oracle/">Simple Table duplicate with Oracle</a> appeared first on <a rel="nofollow" href="http://sniptrichint.com">SnipTricHint</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://sniptrichint.com/simple-table-duplicate-with-oracle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free stock photos</title>
		<link>http://sniptrichint.com/free-stock-photos/</link>
		<comments>http://sniptrichint.com/free-stock-photos/#respond</comments>
		<pubDate>Tue, 08 Apr 2014 08:51:20 +0000</pubDate>
		<dc:creator><![CDATA[xavsio4]]></dc:creator>
				<category><![CDATA[Inspiration]]></category>
		<category><![CDATA[Tip of the day]]></category>

		<guid isPermaLink="false">http://www.sniptrichint.com/?p=578</guid>
		<description><![CDATA[<p>Sometimes in web development you  need photos to use as illustrations. I&#8217;m a huge fan of Veer (www.veer.com) and Shutterstock of course (www.shutterstock.com). But you can find a lot of beautiful shots for free. Here is a very short list of some that I like : &#160; Superfamous — www.superfamous.com (love it) Unsplash — www.unsplash.com &#8211; has a wordpress plugin New...</p>
<div class="read-more-link"><a href="http://sniptrichint.com/free-stock-photos/">Read More</a></div>
<p>The post <a rel="nofollow" href="http://sniptrichint.com/free-stock-photos/">Free stock photos</a> appeared first on <a rel="nofollow" href="http://sniptrichint.com">SnipTricHint</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Sometimes in web development you  need photos to use as illustrations. I&#8217;m a huge fan of Veer (<a title="Veer" href="http://www.veer.com" target="_blank">www.veer.com</a>) and Shutterstock of course (<a title="www.shutterstock.com" href="http://www.shutterstock.com" target="_blank">www.shutterstock.com</a>).</p>
<p>But you can find a lot of beautiful shots for free. Here is a very short list of some that I like :</p>
<p>&nbsp;</p>
<p><span style="line-height: 1.5em;">Superfamous — </span><a style="line-height: 1.5em;" href="http://superfamous.com/" target="_blank" rel="nofollow">www.superfamous.com</a> (love it)</p>
<p>Unsplash — <a href="http://unsplash.com/" target="_blank" rel="nofollow">www.unsplash.com</a> &#8211; has a wordpress plugin</p>
<p><span style="line-height: 1.5em;">New Old Stock — </span><a style="line-height: 1.5em;" href="http://nos.twnsnd.co/" target="_blank" rel="nofollow">www.nos.twnsnd.co</a> (this one is astonishing)</p>
<p>Picjumbo — <a href="http://picjumbo.com/" target="_blank" rel="nofollow">www.picjumbo.com</a></p>
<p>Gratisography — <a href="http://www.gratisography.com/" target="_blank" rel="nofollow">www.gratisography.com</a></p>
<p>Little Visuals — <a href="http://littlevisuals.co/" target="_blank" rel="nofollow">www.littlevisuals.co</a></p>
<p>Split Shire — <a href="http://splitshire.com/" target="_blank" rel="nofollow">www.splitshire.com</a></p>
<p>Pixabay — <a href="http://pixabay.com/" target="_blank" rel="nofollow">www.pixabay.com</a></p>
<p>I’m Free — <a href="http://www.imcreator.com/free" target="_blank" rel="nofollow">www.imcreator.com/free</a></p>
<p>Function Free Photos — <a href="http://wefunction.com/category/free-photos/" target="_blank" rel="nofollow">http://wefunction.com/category/free-photos/</a></p>
<p>Pexel &#8211; <a href="http://www.pexels.com/" target="_blank">http://www.pexels.com/</a></p>
<p>1001 Downloads &#8211; <a href="http://www.1001freedownloads.com/">http://www.1001freedownloads.com/</a></p>
<p>StockSnap &#8211; <a href="https://stocksnap.io/" target="_blank">https://stocksnap.io/</a></p>
<p>Pexels &#8211; <a href="http://www.pexels.com/">http://www.pexels.com/</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="http://sniptrichint.com/free-stock-photos/">Free stock photos</a> appeared first on <a rel="nofollow" href="http://sniptrichint.com">SnipTricHint</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://sniptrichint.com/free-stock-photos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Illustrator : Export layers to SVG</title>
		<link>http://sniptrichint.com/illustrator-export-layers-to-svg/</link>
		<comments>http://sniptrichint.com/illustrator-export-layers-to-svg/#respond</comments>
		<pubDate>Tue, 08 Apr 2014 08:36:12 +0000</pubDate>
		<dc:creator><![CDATA[xavsio4]]></dc:creator>
				<category><![CDATA[Illustrator]]></category>
		<category><![CDATA[Tip of the day]]></category>

		<guid isPermaLink="false">http://www.sniptrichint.com/?p=574</guid>
		<description><![CDATA[<p>Lately I&#8217;ve been thinking about an animation using SVG files out of an Illustrator design I made over Spain. The only option that was available to me was the &#8220;save as&#8221;. But the problem is that I had several layers and I wanted all of them to be exported as a single SVG. Happily, I&#8217;m...</p>
<div class="read-more-link"><a href="http://sniptrichint.com/illustrator-export-layers-to-svg/">Read More</a></div>
<p>The post <a rel="nofollow" href="http://sniptrichint.com/illustrator-export-layers-to-svg/">Illustrator : Export layers to SVG</a> appeared first on <a rel="nofollow" href="http://sniptrichint.com">SnipTricHint</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Lately I&#8217;ve been thinking about an animation using SVG files out of an Illustrator design I made over Spain.</p>
<p>The only option that was available to me was the &#8220;save as&#8221;. But the problem is that I had several layers and I wanted all of them to be exported as a single SVG.</p>
<p>Happily, I&#8217;m using Illustrator cc and the solution is within.</p>
<p>You have to download a free extension through the extension repository.</p>
<p><a href="http://www.sniptrichint.com/wp-content/uploads/2014/04/illustrator.jpg"><img class="alignleft size-medium wp-image-598" src="http://sniptrichint.com/wp-content/uploads/2014/04/illustrator-300x291.jpg" alt="illustrator" width="300" height="291" srcset="http://sniptrichint.com/wp-content/uploads/2014/04/illustrator-300x291.jpg 300w, http://sniptrichint.com/wp-content/uploads/2014/04/illustrator-383x372.jpg 383w, http://sniptrichint.com/wp-content/uploads/2014/04/illustrator-400x388.jpg 400w, http://sniptrichint.com/wp-content/uploads/2014/04/illustrator.jpg 578w" sizes="(max-width: 300px) 100vw, 300px" /></a>The extension you want is called &#8220;layer Exporter&#8221;.</p>
<p>Just go to the windows menu&gt;&gt;Etensions&gt;&gt;Adobe exchange.</p>
<p>When the Adobe Exchange window appears, just make a search using SVG as the keyword.</p>
<p>The extension should appear in the search result.</p>
<p>Just download it. You will have to shut Illustrator down and launch it again for the installation to take effect.</p>
<p>Just remember to put your designs in separate layers and to name each layer as clear as possible. oh, and export using SVG 1.1 if it is for the Web.</p>
<p>Quick and easy !</p>
<p>The post <a rel="nofollow" href="http://sniptrichint.com/illustrator-export-layers-to-svg/">Illustrator : Export layers to SVG</a> appeared first on <a rel="nofollow" href="http://sniptrichint.com">SnipTricHint</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://sniptrichint.com/illustrator-export-layers-to-svg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Direct FTP</title>
		<link>http://sniptrichint.com/wordpress-direct-ftp/</link>
		<comments>http://sniptrichint.com/wordpress-direct-ftp/#respond</comments>
		<pubDate>Sat, 08 Mar 2014 08:53:18 +0000</pubDate>
		<dc:creator><![CDATA[xavsio4]]></dc:creator>
				<category><![CDATA[Snippets]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.sniptrichint.com/?p=462</guid>
		<description><![CDATA[<p>Paste the following line in your wp-config.php file. This file is located in the root of your WordPress install. define(&#039;FS_METHOD&#039;, &#039;direct&#039;); Please note that the code snippet provided above might not work on all hosting providers, and might even cause security issues if your host is badly configured, so avoid using it if you&#8217;re not...</p>
<div class="read-more-link"><a href="http://sniptrichint.com/wordpress-direct-ftp/">Read More</a></div>
<p>The post <a rel="nofollow" href="http://sniptrichint.com/wordpress-direct-ftp/">WordPress Direct FTP</a> appeared first on <a rel="nofollow" href="http://sniptrichint.com">SnipTricHint</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Paste the following line in your wp-config.php file. This file is located in the root of your WordPress install.</p>
<pre class="wp-code-highlight prettyprint">define(&#039;FS_METHOD&#039;, &#039;direct&#039;);</pre>
<p>Please note that the code snippet provided above might not work on all hosting providers, and might even cause security issues if your host is badly configured, so avoid using it if you&#8217;re not sure about your hosting.</p>
<p>The post <a rel="nofollow" href="http://sniptrichint.com/wordpress-direct-ftp/">WordPress Direct FTP</a> appeared first on <a rel="nofollow" href="http://sniptrichint.com">SnipTricHint</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://sniptrichint.com/wordpress-direct-ftp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update a partion key making it change of partion</title>
		<link>http://sniptrichint.com/update-a-partion-key-making-it-change-of-partion/</link>
		<comments>http://sniptrichint.com/update-a-partion-key-making-it-change-of-partion/#respond</comments>
		<pubDate>Tue, 04 Feb 2014 14:23:45 +0000</pubDate>
		<dc:creator><![CDATA[xavsio4]]></dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.sniptrichint.com/?p=570</guid>
		<description><![CDATA[<p>One day i needed to update the key of a partitioned table (usually a date). But the change would made the record move to another partition. Oracle wouldn&#8217;t let me do that and raised an error : ORA-14402: updating partition key column would cause a partition change &#160; To avoid that error and enable that...</p>
<div class="read-more-link"><a href="http://sniptrichint.com/update-a-partion-key-making-it-change-of-partion/">Read More</a></div>
<p>The post <a rel="nofollow" href="http://sniptrichint.com/update-a-partion-key-making-it-change-of-partion/">Update a partion key making it change of partion</a> appeared first on <a rel="nofollow" href="http://sniptrichint.com">SnipTricHint</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>One day i needed to update the key of a partitioned table (usually a date). But the change would made the record move to another partition. Oracle wouldn&#8217;t let me do that and raised an error : </p>
<pre class="wp-code-highlight prettyprint">ORA-14402: updating partition key column would cause a 
partition change</pre>
<p>&nbsp;</p>
<p>To avoid that error and enable that move of records from one partition to another you will have to use the following statement :</p>
<p>&nbsp;</p>
<pre class="wp-code-highlight prettyprint">
ALTER TABLE xYz ENABLE ROW MOVEMENT;
</pre>
<p>Right after that, you can do your update.</p>
<p>What a tip uh ?</p>
<p>The post <a rel="nofollow" href="http://sniptrichint.com/update-a-partion-key-making-it-change-of-partion/">Update a partion key making it change of partion</a> appeared first on <a rel="nofollow" href="http://sniptrichint.com">SnipTricHint</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://sniptrichint.com/update-a-partion-key-making-it-change-of-partion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
