There is a lot of other things you are not telling us. like what is line 199? (is it $feed_table_ext_results->fetchrow_array?) What is in $time. Are you sure that this line $feed_table_ext_idcode->fetchrow_array() is actually returning any rows? If it does not then $feed_table_ext_results->execute(@row); <never gets executed

You need to also realize that the $feed_table_ext_idcode->fetchrow_array loop executes over and over for each $id you get after $time leaving only the results for the last id_code selections available in $feed_table_ext_results->fetch... but that does also assume it returns any rows

An the fact that there are two errors listed for 199 seems to suggest that that statement is inside some sort of loop you may not be showing us

and you should look up how to use $feed_table_ext_results->finish, i suspect you will need to insert somethng like that soon


In reply to Re: Perl DBI execute statement by huck
in thread Perl DBI execute statement by cbtshare

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.