<?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: Trigger on a mutating table in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/trigger-on-a-mutating-table/m-p/3036231#M905960</link>
    <description>hi,&lt;BR /&gt;&lt;BR /&gt;If you look weel at the error reported by the PLSQL engine, in this part of the code:&lt;BR /&gt;&lt;QUOTE&gt;&lt;BR /&gt;IF INSERTING THEN /* Use 'I' for an INSERT, 'D' for DELETE, and 'U' for UPDATE. */ &lt;BR /&gt;cAuditType := 'I'; &lt;BR /&gt;cRow_ID = v_Row_ID; &lt;BR /&gt;cLast_Upd_By = v_Last_Upd_By; &lt;BR /&gt;ELSIF UPDATING THEN &lt;BR /&gt;cAuditType := 'U'; &lt;BR /&gt;cRow_ID = v_Row_ID; &lt;BR /&gt;cLast_Upd_By = v_Last_Upd_By; &lt;BR /&gt;ELSE &lt;BR /&gt;cAuditType := 'D'; &lt;BR /&gt;cRow_ID = vo_Row_ID; &lt;BR /&gt;cLast_Upd_By = vo_Last_Upd_By; &lt;BR /&gt;END IF; &lt;BR /&gt;&lt;/QUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;You missed the ":" when doing the assignment! :)&lt;BR /&gt;&lt;BR /&gt;should be:&lt;BR /&gt;...&lt;BR /&gt;cRow_ID := v_Row_ID; &lt;BR /&gt;cLast_Upd_By := v_Last_Upd_By; &lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;and&lt;BR /&gt;...&lt;BR /&gt;cRow_ID := vo_Row_ID; &lt;BR /&gt;cLast_Upd_By := vo_Last_Upd_By; &lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Yogeeraj</description>
    <pubDate>Tue, 29 Jul 2003 21:18:36 GMT</pubDate>
    <dc:creator>Yogeeraj_1</dc:creator>
    <dc:date>2003-07-29T21:18:36Z</dc:date>
    <item>
      <title>Trigger on a mutating table</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/trigger-on-a-mutating-table/m-p/3036230#M905959</link>
      <description />
      <pubDate>Tue, 29 Jul 2003 13:53:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/trigger-on-a-mutating-table/m-p/3036230#M905959</guid>
      <dc:creator>robert_177</dc:creator>
      <dc:date>2003-07-29T13:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger on a mutating table</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/trigger-on-a-mutating-table/m-p/3036231#M905960</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;If you look weel at the error reported by the PLSQL engine, in this part of the code:&lt;BR /&gt;&lt;QUOTE&gt;&lt;BR /&gt;IF INSERTING THEN /* Use 'I' for an INSERT, 'D' for DELETE, and 'U' for UPDATE. */ &lt;BR /&gt;cAuditType := 'I'; &lt;BR /&gt;cRow_ID = v_Row_ID; &lt;BR /&gt;cLast_Upd_By = v_Last_Upd_By; &lt;BR /&gt;ELSIF UPDATING THEN &lt;BR /&gt;cAuditType := 'U'; &lt;BR /&gt;cRow_ID = v_Row_ID; &lt;BR /&gt;cLast_Upd_By = v_Last_Upd_By; &lt;BR /&gt;ELSE &lt;BR /&gt;cAuditType := 'D'; &lt;BR /&gt;cRow_ID = vo_Row_ID; &lt;BR /&gt;cLast_Upd_By = vo_Last_Upd_By; &lt;BR /&gt;END IF; &lt;BR /&gt;&lt;/QUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;You missed the ":" when doing the assignment! :)&lt;BR /&gt;&lt;BR /&gt;should be:&lt;BR /&gt;...&lt;BR /&gt;cRow_ID := v_Row_ID; &lt;BR /&gt;cLast_Upd_By := v_Last_Upd_By; &lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;and&lt;BR /&gt;...&lt;BR /&gt;cRow_ID := vo_Row_ID; &lt;BR /&gt;cLast_Upd_By := vo_Last_Upd_By; &lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Yogeeraj</description>
      <pubDate>Tue, 29 Jul 2003 21:18:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/trigger-on-a-mutating-table/m-p/3036231#M905960</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2003-07-29T21:18:36Z</dc:date>
    </item>
  </channel>
</rss>

