ok, very weird!  No idea how that happened!    So did you upload the file once it was fixed, or shall I Go in and do that now?<br>Thanks!<br>L<br><br><div class="gmail_quote">On Fri, Oct 30, 2009 at 1:47 PM, Karl O. Pinc <span dir="ltr">&lt;<a href="mailto:kop@meme.com">kop@meme.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On 10/30/2009 12:00:04 PM, Lacey Roerish wrote:<br>
&gt; File supplied: *NC0209A.txt*<br>
&gt;<br>
&gt; Line 2: *ERROR: unterminated quoted identifier at or near &quot;&quot;’žd&quot; at<br>
</div>&gt; character 27*<br>
<br>
Well, that was curious.  The first 3 bytes of the file are<br>
not regular (ASCII) characters.  The bit patterns in hexadecimal<br>
are:<br>
<br>
ef bb bf<br>
<br>
These don&#39;t print, or come out strange like &quot;&quot;’žd&quot;.<br>
<br>
So, you got an error on every line because the first column<br>
name &#39;date&#39; wasn&#39;t really the column name you thought<br>
you had.  Which is why every row got an error.<br>
<br>
The obscure clue in the error message is the word<br>
&#39;identifier&#39;, which is an indication that the problem<br>
is not in the data but is in the SQL that&#39;s putting<br>
the data into the database.  The only part of the<br>
SQL that ever changes are the column names so if you<br>
get an error about an identifier then it&#39;s either about<br>
a column name or somehow an extra quote character got<br>
put somewhere and some data escaped from inside it&#39;s<br>
quotes.  IIRC the upload program is not supposed to allow<br>
the latter to happen.<br>
<br>
<br>
<br>
Karl &lt;<a href="mailto:kop@meme.com">kop@meme.com</a>&gt;<br>
Free Software:  &quot;You don&#39;t pay back, you pay forward.&quot;<br>
                 -- Robert A. Heinlein<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>- -<br>Lacey K. Maryott Roerish<br>Alberts Lab<br>Department of Biology<br>Duke University<br>ph: 919-660-7306<br>fax: 919-660-7293<br><a href="mailto:Lacey.Maryott@duke.edu">Lacey.Maryott@duke.edu</a><br>