<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: try to create a procedure result in complition errors in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/try-to-create-a-procedure-result-in-complition-errors/m-p/2744232#M944277</link>
    <description>hi,&lt;BR /&gt;I was able to recompile the oracle ...&lt;BR /&gt;the reason it didn't compile because &lt;BR /&gt;when i created the table i had 4 field,&lt;BR /&gt;but i had only 3 field to insert and the other field were nul...after fixing it..i was able to have it up and run...&lt;BR /&gt;thank you for your time&lt;BR /&gt;</description>
    <pubDate>Thu, 13 Jun 2002 18:12:09 GMT</pubDate>
    <dc:creator>Deanna Tran</dc:creator>
    <dc:date>2002-06-13T18:12:09Z</dc:date>
    <item>
      <title>try to create a procedure result in complition errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/try-to-create-a-procedure-result-in-complition-errors/m-p/2744227#M944272</link>
      <description>This is the procedure that i used before...and it works fine.  Just now i have edit some line&lt;BR /&gt;in the code.  I drop the procedure and run it again, and i can't run it....prior to do the&lt;BR /&gt;droping of the procedure, I have alter to add&lt;BR /&gt;extra datafile to the package...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;create PROCEDURE tester1 IS&lt;BR /&gt;numcount number:= 0;&lt;BR /&gt;begin&lt;BR /&gt;while true loop&lt;BR /&gt;numcount:=numcount+1;&lt;BR /&gt;insert into employee values (numcount,'dfkjebkg','dlkjglkj',5678.34,4567895);&lt;BR /&gt;update employee set salary = salary + 5000;&lt;BR /&gt;where empid = numcount;&lt;BR /&gt;update employee set lastname = 'dkvnlkdoije'&lt;BR /&gt;where empid = numcount;&lt;BR /&gt;commit;&lt;BR /&gt;end loop;&lt;BR /&gt;END;&lt;BR /&gt;/                  &lt;BR /&gt;SQL&amp;gt; @/u02/dtloader2.sql&lt;BR /&gt;&lt;BR /&gt;Warning: Procedure created with compilation errors.&lt;BR /&gt;&lt;BR /&gt;SQL&amp;gt; execute tester1&lt;BR /&gt;BEGIN tester1; END;&lt;BR /&gt;&lt;BR /&gt;      *&lt;BR /&gt;ERROR at line 1:&lt;BR /&gt;ORA-06550: line 1, column 7:&lt;BR /&gt;PLS-00905: object TEST1.TESTER1 is invalid&lt;BR /&gt;ORA-06550: line 1, column 7:&lt;BR /&gt;PL/SQL: Statement ignored</description>
      <pubDate>Thu, 13 Jun 2002 16:12:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/try-to-create-a-procedure-result-in-complition-errors/m-p/2744227#M944272</guid>
      <dc:creator>Deanna Tran</dc:creator>
      <dc:date>2002-06-13T16:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: try to create a procedure result in complition errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/try-to-create-a-procedure-result-in-complition-errors/m-p/2744228#M944273</link>
      <description>I see one error off the bat which is:&lt;BR /&gt;&lt;BR /&gt;"update employee set salary = salary + 5000; &lt;BR /&gt;where empid = numcount; "&lt;BR /&gt;&lt;BR /&gt;There should not be a semicolon after the 5000.  &lt;BR /&gt;&lt;BR /&gt;After changing that, try again.  If it still does not work, select * from user_errors and see if you can get more details on the error message.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Jun 2002 16:17:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/try-to-create-a-procedure-result-in-complition-errors/m-p/2744228#M944273</guid>
      <dc:creator>Jeanine Kone</dc:creator>
      <dc:date>2002-06-13T16:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: try to create a procedure result in complition errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/try-to-create-a-procedure-result-in-complition-errors/m-p/2744229#M944274</link>
      <description>hi jeannine,&lt;BR /&gt;after fixing that, oracle recompile without any errors. If i edit some code with in that&lt;BR /&gt;procedure, do i have to drop the procedure?&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Jun 2002 16:34:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/try-to-create-a-procedure-result-in-complition-errors/m-p/2744229#M944274</guid>
      <dc:creator>Deanna Tran</dc:creator>
      <dc:date>2002-06-13T16:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: try to create a procedure result in complition errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/try-to-create-a-procedure-result-in-complition-errors/m-p/2744230#M944275</link>
      <description>You can do a "create or replace procedure".  That will create it if it does not exist, or replace (i.e. update) it if it does.  &lt;BR /&gt;&lt;BR /&gt;If you have the Oracle development tools, you can use the Procedure Builder to create and edit stored procedures.</description>
      <pubDate>Thu, 13 Jun 2002 16:43:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/try-to-create-a-procedure-result-in-complition-errors/m-p/2744230#M944275</guid>
      <dc:creator>Jeanine Kone</dc:creator>
      <dc:date>2002-06-13T16:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: try to create a procedure result in complition errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/try-to-create-a-procedure-result-in-complition-errors/m-p/2744231#M944276</link>
      <description>hi,&lt;BR /&gt;can i use the procedure to fill up&lt;BR /&gt;two different table...if so, why do i keep&lt;BR /&gt;having this compilation errors from oracle&lt;BR /&gt;create PROCEDURE tester1 IS&lt;BR /&gt;numcount number:=0;&lt;BR /&gt;begin&lt;BR /&gt;while true loop&lt;BR /&gt;numcount:=numcount+1;&lt;BR /&gt;insert into employee values (numcount,'dfkjebkg','dlkjglkj',5678.34,4567895);&lt;BR /&gt;insert into employee1 values (numcount,'lkjljf',87970.80);&lt;BR /&gt;update employee1 set salary = salary + 10000&lt;BR /&gt;where empid = numcount;&lt;BR /&gt;update employee set salary = salary + 5000&lt;BR /&gt;where empid = numcount;&lt;BR /&gt;update employee set lastname = 'dkvnlkdoije'&lt;BR /&gt;where empid = numcount;&lt;BR /&gt;commit;&lt;BR /&gt;end loop;&lt;BR /&gt;END;&lt;BR /&gt;/    &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;this is the error&lt;BR /&gt; @/u02/dtloader2.sql&lt;BR /&gt;&lt;BR /&gt;Warning: Procedure created with compilation errors.&lt;BR /&gt;&lt;BR /&gt;SQL&amp;gt; execute tester1&lt;BR /&gt;BEGIN tester1; END;&lt;BR /&gt;&lt;BR /&gt;      *&lt;BR /&gt;ERROR at line 1:&lt;BR /&gt;ORA-06550: line 1, column 7:&lt;BR /&gt;PLS-00905: object TEST1.TESTER1 is invalid&lt;BR /&gt;ORA-06550: line 1, column 7:&lt;BR /&gt;PL/SQL: Statement ignored&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Jun 2002 17:53:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/try-to-create-a-procedure-result-in-complition-errors/m-p/2744231#M944276</guid>
      <dc:creator>Deanna Tran</dc:creator>
      <dc:date>2002-06-13T17:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: try to create a procedure result in complition errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/try-to-create-a-procedure-result-in-complition-errors/m-p/2744232#M944277</link>
      <description>hi,&lt;BR /&gt;I was able to recompile the oracle ...&lt;BR /&gt;the reason it didn't compile because &lt;BR /&gt;when i created the table i had 4 field,&lt;BR /&gt;but i had only 3 field to insert and the other field were nul...after fixing it..i was able to have it up and run...&lt;BR /&gt;thank you for your time&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Jun 2002 18:12:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/try-to-create-a-procedure-result-in-complition-errors/m-p/2744232#M944277</guid>
      <dc:creator>Deanna Tran</dc:creator>
      <dc:date>2002-06-13T18:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: try to create a procedure result in complition errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/try-to-create-a-procedure-result-in-complition-errors/m-p/2744233#M944278</link>
      <description>Deanna,&lt;BR /&gt;&lt;BR /&gt;Just as an FYI, after trying to create or recompile an object, you can execute the command "show errors" immediately afterwards, and it will show you the errors associated with the command.  &lt;BR /&gt;&lt;BR /&gt;Also, you can query the errors from the database in the DBA_ERRORS view.  &lt;BR /&gt;&lt;BR /&gt;(ie: select * from dba_errors where name = &lt;OBJECT_NAME&gt;;)&lt;BR /&gt;&lt;BR /&gt;Brian&lt;/OBJECT_NAME&gt;</description>
      <pubDate>Fri, 14 Jun 2002 03:41:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/try-to-create-a-procedure-result-in-complition-errors/m-p/2744233#M944278</guid>
      <dc:creator>Brian Crabtree</dc:creator>
      <dc:date>2002-06-14T03:41:21Z</dc:date>
    </item>
  </channel>
</rss>

