Chris,<br>
<br>
I was preparing to reply to your e-mail when I discovered the problem.
I had been assuming it was the query zsql method value that was the
problem (due to the &quot;0\n&quot; error), when it was actually a typo in the
insert zsql method (I had failed to add a &quot;,&quot; when adding the
additional field to insert . . . my eyes must be getting old).<br>
<br>
Anyway, I will try not to make so many assumption when I run it future bugs. <br>
<br>
Thank you for your help,<br>
<br>
Ivan<br>
<br><div><span class="gmail_quote">On 11/15/05, <b class="gmail_sendername">Chris Withers</b> &lt;<a href="mailto:chris@simplistix.co.uk">chris@simplistix.co.uk</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Ivan Stout wrote:<br>&gt; Yes, the full error message is the following:<br>&gt;<br>&gt; &quot; ProgrammingError: (1064, &quot;You have an error in your SQL syntax; check the<br>&gt; manual that corresponds to your MySQL server version for the right syntax to
<br>&gt; use near '0\n)' at line 9&quot;) &quot;<br>&gt;<br>&gt; Here is the select portion of the query I am running:<br>&gt;<br>&gt; select count(*) as &quot;order&quot;<br><br>I'd look for the bit of your SQL that is '0' at the end of a line ;-)
<br><br>What's your full ZSQL? (well, actually, boil it down to a minimal test<br>case that fails...)<br><br>cheers,<br><br>Chris<br><br>--<br>Simplistix - Content Management, Zope &amp; Python Consulting<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- 
<a href="http://www.simplistix.co.uk">http://www.simplistix.co.uk</a><br></blockquote></div><br>