<?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>Oracle Tips and Techniques &#187; Oracle DBA Scripts</title>
	<atom:link href="http://www.oraclecity.com/category/oracle-dba-scripts/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.oraclecity.com</link>
	<description>Oracle 11g, Oracle 10g, PL/SQL, Oracle Enterprise Manager 11g Grid Control, Oracle Performance Tuning, Microsoft SQL Server and T-SQL</description>
	<lastBuildDate>Thu, 12 Jan 2012 11:36:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>ALTER DATABASE &#8211; Managing Redo logs</title>
		<link>http://www.oraclecity.com/oracle-dba-scripts/alter-database/</link>
		<comments>http://www.oraclecity.com/oracle-dba-scripts/alter-database/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 00:28:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Oracle DBA Scripts]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[oracle dba]]></category>

		<guid isPermaLink="false">http://www.oraclecity.com/?p=370</guid>
		<description><![CDATA[Alter database command is used to add loggfile or add logfile member in Oracle. This post gives the commands used to create a redo log group and adding members to this group. ]]></description>
			<content:encoded><![CDATA[<p>Before commiting data into database Oracle changes and stores the changed data in redo log files. Every oracle database needs redo log files.  When for some reason some datafile becomes unavailable then these redo log files can be used to rollback changes to the data.</p>
<p>The following command can be used to add a new redo log group to an existing database:</p>
<p><strong>ALTER DATABASE testdb</strong></p>
<p><strong>ADD LOGFILE </strong></p>
<p><strong><span style="font-family: Courier;">GROUP 1 </span>(&#8216;/u01/oradata/testdb/redo1a.log&#8217;,'/u02/oradata/testdb/redo1b.log&#8217;) SIZE 100M;</strong></p>
<p>This command will add a redo log group (Group 1) to the database testdb. The log file group will have two members which are located on two different disks uo1 and uo2.</p>
<p>In Oracle the Group number must be unique. So before creating the group it is vital that you check the existing group number and then increment that number by 1 to get your new group number.</p>
<p>It is possible to add further log members to redo groups.</p>
<p>The command below will add a member to GROUP 1.</p>
<p><strong>ALTER DATABASE testdb</strong></p>
<p><strong>ADD LOGFILE MEMBER</strong></p>
<p><strong>&#8216;/u03/oradata/testdb/redo1c.log&#8217;</strong></p>
<p><strong>TO GROUP 1;</strong></p>
<p><strong><br />
</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclecity.com/oracle-dba-scripts/alter-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Alter system kill session in Oracle</title>
		<link>http://www.oraclecity.com/oracle-dba-scripts/alter-system-kill-session-in-oracle/</link>
		<comments>http://www.oraclecity.com/oracle-dba-scripts/alter-system-kill-session-in-oracle/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 16:26:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Oracle DBA Scripts]]></category>
		<category><![CDATA[alter system]]></category>
		<category><![CDATA[oracle dba]]></category>

		<guid isPermaLink="false">http://www.oraclecity.com/?p=198</guid>
		<description><![CDATA[Alter system kill session - command in Oracle. This post explains scenarios when you may need to use this command]]></description>
			<content:encoded><![CDATA[<p>The command you use to kill an Oracle session is</p>
<p style="padding-left: 30px;"><strong><span style="color: #800000;">Alter system kill session ‘SID, SERIAL#’;</span></strong></p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;"><strong><span style="color: #800000;"><br />
</span></strong></p>
<p>So why should I need to kill an Oracle session.  There are many reasons why you might want to kill a session. To give you a few exmaple:</p>
<p><span id="more-198"></span></p>
<p>Scenario 1:  You want to shutdown a database and want to shutdown normally. But if any user is logged onto the database then you can not shutdown the database. So instead of using IMMEDIATE or ABORT options in your shutdown command you might just want to kill the offending session and carry on with your task.</p>
<p>Scenario 2: You might need to kill an Oracle session which stopped responding while you were executing a long running query and program</p>
<p>Scenario 3: You may want to kill a session initiated by an unauthorised person</p>
<p>As killing a user session is quite serious action, only privileged users can execute the command. If you have DBA role in your database or if you can connect as a DBA to the database than you can certainly execute the command.</p>
<p>The values for SID and SERIAL# can be found by querying v$session view. This view is also not available to every users in the database and you will need to login as a DBA or a privileged user who can access this view.</p>
<p>Here is a query that you can use to get these values.</p>
<p style="padding-left: 30px;"><strong><span style="color: #800000;">select sid, serial#, schema#, osuser, machine, terminal from v$session;</span></strong></p>
<p>From the output result you have to identify the offending oracle session, note their SID and SERIAL# and then execute the alter session command.</p>
<p>And that’s it, the selected user session will be terminated.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclecity.com/oracle-dba-scripts/alter-system-kill-session-in-oracle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Install Oracle 11g Client</title>
		<link>http://www.oraclecity.com/oracle-dba-scripts/how-to-install-oracle-11g-client/</link>
		<comments>http://www.oraclecity.com/oracle-dba-scripts/how-to-install-oracle-11g-client/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 12:41:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Oracle DBA Scripts]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[Oracle Advanved Tech]]></category>
		<category><![CDATA[oracle client install]]></category>
		<category><![CDATA[oracle dba]]></category>

		<guid isPermaLink="false">http://www.oraclecity.com/?p=148</guid>
		<description><![CDATA[Step by step instructions with images for each step of Oracle 11g Client installation process. This guide will teach you how to install Oracle 11g Client]]></description>
			<content:encoded><![CDATA[<p align="left">These instructions apply to Microsoft Windows only. When you install Oracle database software (try installing Enterprise edition), by default it also installs Oracle client. So if you have installed Oracle database software in your machine and want to connect to your local database you simply invoke the Oracle Client and given the necessary login credentials and you are in. You do not have to worry much about setting up your sql*net configuration as the installation process should usually take care of that if you chose to do so.</p>
<p align="left">But for people who want to access an Oracle database that is not local and in a remote machine then you must need to install Oracle client in your machine. Even if You do not want to use SQL*Plus but want to use TOAD or SQL Developer or something like that, you still need Oracle client. Because internally these database access/development tools use Oracle clients software to connect to the target database.</p>
<p align="left">So the most important thing to remember is, <em><strong>you must need Oracle client software in your machine if you want to connect to a remote Oracle database.</strong></em></p>
<p align="left">Installing Oracle client is not difficult. You just need to be a bit careful. The step by step instructions below should help you to install an Oracle Client in your machine. These instructions assume that you have downloaded the Oracle client software that you desire to install and unzipped the zip file into some folder.<span id="more-148"></span></p>
<p align="left">To make the instructions easy to understand I&#8217;ll explain what I did here:</p>
<p align="left">1. Downlaoded Oracle Client Software from <a href="http://www.oracle.com/">Oracle</a> (zip file win32_11gR1_client.zip). This file is almost 500MB.</p>
<p align="left">2. Unzipped win32_11gR1_client.zip into <a href="file:///C:/win32_11gR1_client">C:\win32_11gR1_client</a> folder. A sub folder called &#8220;Client&#8221; is created under folder  &#8220;c:\win32_11gR1_client&#8221;. Within the Client sub folder there is a file called setup.exe, this is the file I&#8217;ll run.</p>
<p align="left">3. I want to install my Oracle Client in my D: disk drive.</p>
<p align="left">System Requirement: Oracle client is not so much of a heavy software but still it needs significant amount of disk space. So make sure that you have at least 1GB free in your disk drive where you want to install your client.</p>
<table style="height: 4163px;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="43" height="38" valign="top">1</td>
<td width="468" height="38" valign="top">
<p align="left"><small>Open Windows Explorer and navigate to </small><strong>c:\win32_11gR1_client\client</strong><strong> </strong></p>
</td>
</tr>
<tr>
<td width="43" height="17" valign="top">2</td>
<td width="468" height="17" valign="top">
<p align="left">Run setup.exe (<small>double</small> click on it).</p>
</td>
</tr>
<tr>
<td width="43" height="359" valign="top">3</td>
<td width="468" height="359" valign="top">
<p align="left">Wait until the following screen is displayed</p>
<p align="left"><strong> <img class="aligncenter size-full wp-image-150" title="oracl1" src="http://www.oraclecity.com/wp-content/uploads/2009/11/oracl1.jpg" alt="oracl1" width="447" height="272" /></strong></p>
<p align="left">Click Next <small>on this screen</small></p>
</td>
</tr>
<tr>
<td width="43" height="390" valign="top">4</td>
<td width="468" height="390" valign="top">
<p align="left"><strong> <img class="aligncenter size-full wp-image-151" title="oracl2" src="http://www.oraclecity.com/wp-content/uploads/2009/11/oracl2.jpg" alt="oracl2" width="447" height="272" /></strong></p>
<p align="left">Select Administrator <small>and then click </small>Click Next button</p>
</td>
</tr>
<tr>
<td width="43" height="498" valign="top">5</td>
<td width="468" height="498" valign="top">
<p align="left"><strong> </strong></p>
<p align="left"><small><img class="aligncenter size-full wp-image-152" title="oracl3" src="http://www.oraclecity.com/wp-content/uploads/2009/11/oracl3.jpg" alt="oracl3" width="447" height="330" /></small></p>
<p align="left"><small>Enter</small> <strong><a href="file:///d:/oracle">d:\oracle</a> for Oracle Base</strong></p>
<p align="left">Click Next<small> button</small></p>
</td>
</tr>
<tr>
<td width="43" height="407" valign="top">6</td>
<td width="468" height="407" valign="top">
<p align="left"><strong> </strong></p>
<p><small><img class="aligncenter size-full wp-image-153" title="oracl4" src="http://www.oraclecity.com/wp-content/uploads/2009/11/oracl4.jpg" alt="oracl4" width="447" height="330" /></small></p>
<p><small>Click Next button again on this screen.</small></td>
</tr>
<tr>
<td width="43" height="434" valign="top">7</td>
<td width="468" height="434" valign="top">
<p align="left"><strong> </strong></p>
<p align="left"><img class="aligncenter size-full wp-image-154" title="oracl5" src="http://www.oraclecity.com/wp-content/uploads/2009/11/oracl5.jpg" alt="oracl5" width="447" height="330" /></p>
<p align="left">Click Install</p>
</td>
</tr>
<tr>
<td width="43" height="386" valign="top"><small>8</small></td>
<td width="468" height="386" valign="top">
<p align="left">The installation will now start as shown below.</p>
<p align="left"><strong> <img class="aligncenter size-full wp-image-155" title="oracl6" src="http://www.oraclecity.com/wp-content/uploads/2009/11/oracl6.jpg" alt="oracl6" width="437" height="304" /></strong></p>
<p align="left">Wait until the installation is 100% complete</p>
<p align="left">
</td>
</tr>
<tr>
<td width="43" height="442" valign="top"><small>9</small></td>
<td width="468" height="442" valign="top">
<p align="left"><strong> <img class="aligncenter size-full wp-image-156" title="oracl7" src="http://www.oraclecity.com/wp-content/uploads/2009/11/oracl7.jpg" alt="oracl7" width="437" height="304" /></strong></p>
<p align="left">The installation process will now try to configure Oracle Net Configuration.</p>
<p align="left">Do not do anything. Wait until you get the following screen</p>
</td>
</tr>
<tr>
<td width="43" height="338" valign="top"><small>10</small></td>
<td width="468" height="338" valign="top">
<p align="left"><strong> </strong></p>
<p align="left"><img class="aligncenter size-full wp-image-157" title="oracl8" src="http://www.oraclecity.com/wp-content/uploads/2009/11/oracl8.jpg" alt="oracl8" width="437" height="304" /></p>
<p align="left">Click Next</p>
</td>
</tr>
<tr>
<td width="43" height="314" valign="top"><small>11</small></td>
<td width="468" height="314" valign="top">
<p align="left"><strong> </strong></p>
<p align="left"><img class="aligncenter size-full wp-image-158" title="oracl9" src="http://www.oraclecity.com/wp-content/uploads/2009/11/oracl9.jpg" alt="oracl9" width="437" height="277" /></p>
<p align="left">Click Finish</p>
</td>
</tr>
<tr>
<td width="43" height="293" valign="top">1<small>2</small></td>
<td width="468" height="293" valign="top">
<p align="left"><strong> </strong></p>
<p align="left"><img class="aligncenter size-full wp-image-159" title="oracle10" src="http://www.oraclecity.com/wp-content/uploads/2009/11/oracl10.jpg" alt="oracle10" width="437" height="260" /></p>
<p align="left">Click Exit</p>
</td>
</tr>
<tr>
<td width="43" height="182" valign="top">1<small>3</small></td>
<td width="468" height="182" valign="top">
<p align="left"><strong> </strong></p>
<p align="left">Click Yes</p>
<p align="left"><img class="aligncenter size-full wp-image-160" title="oracl11" src="http://www.oraclecity.com/wp-content/uploads/2009/11/oracl11.jpg" alt="oracl11" width="268" height="147" /></p>
</td>
</tr>
<tr>
<td width="43" height="18" valign="top">1<small>4</small></td>
<td width="468" height="18" valign="top">
<p align="left"><small>Done</small></p>
</td>
</tr>
</tbody>
</table>
<p><strong> </strong></p>
<p><strong>You must need to define the tnsentry so that your Client knows where to connect.</strong></p>
<p><strong><strong> </strong></strong></p>
<p><strong><strong> </strong>Oracle client is now installed. But do not forget tosetup tour tnsentry in tnsnames.ora file. With the example installation above the file will be located in <a href="file:///D:/oracle/product/11.1.0/client_1/network/admin">D:\oracle\product\11.1.0\client_1\network\admin</a>.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclecity.com/oracle-dba-scripts/how-to-install-oracle-11g-client/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Re-Compiling ALL INVALID objects in your Oracle database</title>
		<link>http://www.oraclecity.com/oracle-dba-scripts/re-compiling-all-oracle-invalid-objects/</link>
		<comments>http://www.oraclecity.com/oracle-dba-scripts/re-compiling-all-oracle-invalid-objects/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 16:57:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Oracle DBA Scripts]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[Oracle Advanved Tech]]></category>
		<category><![CDATA[oracle dba]]></category>
		<category><![CDATA[Oracle FAQ]]></category>
		<category><![CDATA[pl/sql]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://www.oraclecity.com/?p=143</guid>
		<description><![CDATA[This script will re-compile all invalid objects of all schemas in yuor database. This is quite powerfull script as it will try to re-compile everything in the database that is invalid. So you must need to run this script as a highly priviledged user (such as SYS or SYSTEM or a user with DBA role)]]></description>
			<content:encoded><![CDATA[<p>This  script will re-compile all invalid objects of all schemas in yuor database. This is quite  powerfull script as it will try to re-compile everything in the database that is invalid.  So you must need to run this script as a highly priviledged user (such as SYS or SYSTEM or  a user with DBA role)</p>
<p>The  script first builds up the ALTER commands for all invalid objects and put (spool)    the list into an operating system file called templist.sql. The ALTER commands will  be of the format</p>
<p>ALTER  PROCEDURE HR.CALLPROC COMPILE;<br />
ALTER PACKAGE SCOTT.PKG_TEST1 COMPILE BODY;<br />
ALTER PACKAGE SCOTT.PKG_TEST1 COMPILE BODY;</p>
<p>Note  above that I am using the schema name before the object name e.g. HR.CALLPROC). This is to  make sure that we are re-compile the invalid object in its own schema. The list file  templist.sql will be run against the database to run all these commands in one go.</p>
<p>Here  is the script:</p>
<p><span id="more-143"></span></p>
<p><em>SET  HEADING OFF<br />
SET PAGESIZE 0<br />
SET FEEDBACK OFF</p>
<p>SPOOL templist.sql</p>
<p>SELECT &#8216;ALTER &#8216; ||<br />
DECODE( object_type, &#8216;PACKAGE BODY&#8217;, &#8216;PACKAGE&#8217;, object_type) || &#8216; &#8216; ||<br />
object_name || &#8216; COMPILE &#8216; ||<br />
DECODE( object_type, &#8216;PACKAGE BODY&#8217;, &#8216;BODY&#8217;, NULL) || &#8216;;&#8217;<br />
FROM user_objects<br />
WHERE object_type IN ( &#8216;VIEW&#8217;, &#8216;TRIGGER&#8217;, &#8216;PACKAGE BODY&#8217;, &#8216;PROCEDURE&#8217;, &#8216;FUNCTION&#8217;)<br />
AND status = &#8216;INVALID&#8217;;</p>
<p>SPOOL OFF<br />
SET FEEDBACK ON</p>
<p>PROMPT Re-compiling Invalid objects&#8230;<br />
@templist.sql</p>
<p>PROMPT Deleting the templist file&#8230;<br />
HOST rm -rf templist.sql</p>
<p>PROMPT Re-compilation complete&#8230;<br />
SET HEADING ON<br />
SET FEEDBACK ON</em></p>
<p>The  VIEW called all_objects will have all objects that the user have access to. So If you run  this script logged in as SYS user then it will have access to everything in the database.</p>
<p>Running  this script:</p>
<p>1.  Copy and paste the script marked in italic above and give a name such as  compile_objects.sql.</p>
<p>2.  Using SQL*Plus logon to Oracle as a priviledged user</p>
<p>3. Run  the script compile_objects.sql as</p>
<p>sql&gt;@compile_objects.sql;</p>
<p>sql&gt;sho  error;</p>
<p>4.  Repeat the command again to make sure if anything still remains Invalid</p>
<p>sql&gt;@compile_objects.sql.</p>
<p>sql&gt;sho  error;</p>
<p>5. Now  check your database to see if objects are all VALID by running this query:</p>
<p>SELECT owner, object_name, status, last_ddl_time FROM ALL_OBJECTS WHERE  status=&#8217;INVALID&#8217;;</p>
<p>Also  note &#8220;show error&#8221; will display only the error message for the last object it  tried to compile. So if you still have objects not compiled then you need to run  individual ALTER commands and run &#8220;sho error&#8221; command to check the error. The  objects can be compiled only if they can be really valid.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclecity.com/oracle-dba-scripts/re-compiling-all-oracle-invalid-objects/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Re-Compiling INVALID objects in own (users) schema</title>
		<link>http://www.oraclecity.com/oracle-dba-scripts/re-compiling-invalid-objects/</link>
		<comments>http://www.oraclecity.com/oracle-dba-scripts/re-compiling-invalid-objects/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 16:33:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Oracle DBA Scripts]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[oracle dba]]></category>
		<category><![CDATA[Oracle FAQ]]></category>
		<category><![CDATA[pl/sql]]></category>

		<guid isPermaLink="false">http://www.oraclecity.com/?p=137</guid>
		<description><![CDATA[The script first builds up the ALTER commands for all invalid objects and put (spool)    the list into an operating system file called templist.sql. The ALTER commands will be of the format

ALTER PROCEDURE CALL COMPILE;
ALTER PACKAGE PKG_TEST1 COMPILE BODY;
ALTER PACKAGE PKG_TEST1 COMPILE BODY;

Then the list file templist.sql will be run against the database to run all this commands in one go. Which means you just need to run this one script to re-compile all your invalid objects in your schema. Note that I am using here USER_OBJECTS - which is a VIEW owned by SYS user.]]></description>
			<content:encoded><![CDATA[<p>Here  is a very handy script which you can use to re-compile all the invalid objects in your  schema.</p>
<p>The  script first builds up the ALTER commands for all invalid objects and put (spool)     the list into an operating system file called templist.sql. The ALTER  commands will be of the format</p>
<p>ALTER  PROCEDURE CALL COMPILE;<br />
ALTER PACKAGE PKG_TEST1 COMPILE BODY;<br />
ALTER PACKAGE PKG_TEST1 COMPILE BODY;</p>
<p>Then  the list file templist.sql will be run against the database to run all this commands in  one go. Which means you just need to run this one script to re-compile all your invalid  objects in your schema. Note that I am using here USER_OBJECTS &#8211; which is a VIEW owned by  SYS user.<span id="more-137"></span></p>
<p><em>SET  HEADING OFF<br />
SET PAGESIZE 0<br />
SET FEEDBACK OFF</em></p>
<p><em>SPOOL templist.sql</em></p>
<p><em>SELECT &#8216;ALTER &#8216; ||<br />
DECODE( object_type, &#8216;PACKAGE BODY&#8217;, &#8216;PACKAGE&#8217;, object_type) || &#8216; &#8216; ||<br />
object_name || &#8216; COMPILE &#8216; ||<br />
DECODE( object_type, &#8216;PACKAGE BODY&#8217;, &#8216;BODY&#8217;, NULL) || &#8216;;&#8217;<br />
FROM user_objects<br />
WHERE object_type IN ( &#8216;VIEW&#8217;, &#8216;TRIGGER&#8217;, &#8216;PACKAGE BODY&#8217;, &#8216;PROCEDURE&#8217;, &#8216;FUNCTION&#8217;)<br />
AND status = &#8216;INVALID&#8217;;</em></p>
<p><em>SPOOL OFF<br />
SET FEEDBACK ON</em></p>
<p><em>PROMPT Re-compiling Invalid objects&#8230;<br />
@templist.sql</em></p>
<p><em>PROMPT Deleting the templist file&#8230;<br />
HOST rm -rf templist.sql</em></p>
<p><em>PROMPT Re-compilation complete&#8230;<br />
SET HEADING ON<br />
SET FEEDBACK ON</em></p>
<p>Running  this script:</p>
<p>1.  Copy and paste the script marked in italic above and give a name such as  compile_objects.sql.</p>
<p>2.  Using SQL*Plus logon to Oracle user whose invalid objects will be compiled (example  scott/tiger).</p>
<p>3. Run  the script compile_objects.sql as</p>
<p>sql&gt;@compile_objects.sql;</p>
<p>sql&gt;sho  error;</p>
<p>4.  Repeat the command again to make sure if anything still remains Invalid</p>
<p>sql&gt;@compile_objects.sql.</p>
<p>sql&gt;sho  error;</p>
<p>5. Now  check your database to see if objects are all OK (status=VALID).</p>
<p>Also  note &#8220;show error&#8221; will display only the error message for the last object it  tried to compile. So if you still have objects not compiled then you need to run  individual ALTER commands and run &#8220;sho error&#8221; command to check the error. The  objects can be compiled only if they can be really valid.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclecity.com/oracle-dba-scripts/re-compiling-invalid-objects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

