<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.oehive.org" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>jim_chance&#039;s blog</title>
 <link>http://www.oehive.org/blog/4220</link>
 <description></description>
 <language>oehive</language>
<item>
 <title>Updating multiple tables</title>
 <link>http://www.oehive.org/node/2050</link>
 <description>&lt;p&gt;I&#039;m trying to update 3 fields in 2 tables based on the following, but I&#039;m getting a syntax error.&lt;br /&gt;
Error: Syntax error (7587) (State:37000, Native Code: FFFFB1DD)&lt;/p&gt;
&lt;p&gt;What&#039;s wrong with this statement?&lt;/p&gt;
&lt;p&gt;update pub.poheader, pub.podetail,  pub.porel&lt;br /&gt;
set openorder = 0, openline = 0, openrelease = 0&lt;br /&gt;
where ph.PONum = pd.PONum&lt;br /&gt;
and pd.PONum = pr.PONum&lt;br /&gt;
and pr.poline = pd.poline&lt;br /&gt;
and ph.openorder = 1&lt;br /&gt;
and pd.openline = 1&lt;br /&gt;
and pr.openrelease = 1&lt;br /&gt;
and ph.orderdate &amp;lt; &#039;2011-01-01&#039;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;mailto:jim_chance@yahoo.com&quot;&gt;jim_chance@yahoo.com&lt;/a&gt;&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/node/667&quot; class=&quot;og_links&quot;&gt;ABL(4GL) General Programming Group&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <comments>http://www.oehive.org/node/2050#comments</comments>
 <group domain="http://www.oehive.org/node/1777">PUG Challenge Americas</group>
 <group domain="http://www.oehive.org/node/667">ABL(4GL) General Programming Group</group>
 <pubDate>Sun, 01 Jan 2012 16:24:04 +0000</pubDate>
 <dc:creator>jim_chance</dc:creator>
 <guid isPermaLink="false">2050 at http://www.oehive.org</guid>
</item>
</channel>
</rss>
