 




<?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>IT Answers &#187; ALTER INDEX statement</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/tag/alter-index-statement/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers</link>
	<description></description>
	<lastBuildDate>Sat, 25 May 2013 06:08:03 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>ALTER INDEX statement</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/alter-index/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/alter-index/#comments</comments>
		<pubDate>Tue, 16 Dec 2008 12:54:26 +0000</pubDate>
		<dc:creator>Shaksing</dc:creator>
				<category><![CDATA[ALTER INDEX statement]]></category>
		<category><![CDATA[EXECUTE IMMEDIATE statement]]></category>
		<category><![CDATA[Oracle development]]></category>
		<category><![CDATA[Oracle SQL]]></category>
		<category><![CDATA[Oracle stored procedures]]></category>
		<category><![CDATA[SQL statements]]></category>
		<category><![CDATA[Stored Procedures]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[&#8216;ALTER INDEX &#8216; &#124;&#124; C_Indices.INDEX_NAME &#124;&#124;&#8217; REBUILD &#8216;; &#8216;ALTER INDEX &#8216; &#124;&#124; C_Indices.INDEX_NAME &#124;&#124; &#8216; REBUILD ONLINE COMPUTE STATISTICS&#8217;; In my stored procedure , i am reconstructing or you can say re-building the tables and table name is the input parameter to the procedure. In middle of the code , i am using execute immediate [...]]]></description>
				<content:encoded><![CDATA[<p>&#8216;ALTER INDEX &#8216; || C_Indices.INDEX_NAME ||&#8217; REBUILD &#8216;;</p>
<p>&#8216;ALTER INDEX &#8216; || C_Indices.INDEX_NAME || &#8216; REBUILD ONLINE COMPUTE STATISTICS&#8217;;</p>
<p>In my stored procedure , i am reconstructing or you can say re-building the tables and table name is the input parameter to the procedure.</p>
<p>In middle of the code , i am using execute immediate while running the second alter index (as shown above)&#8230;, Its not working and going into exception block, But when i am running the first one , code is moving smoothly.</p>
<p>What can be the possible reasons , Please suggest.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/alter-index/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/13 queries in 0.015 seconds using memcached
Object Caching 327/340 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-25 07:14:27 -->