[Mono-list] Unknown column error when calling MySql stored procedure from Mono C#

Chris Howie cdhowie at gmail.com
Sun Sep 7 15:25:12 EDT 2008


On Sun, Sep 7, 2008 at 6:58 AM, gewe <gewe at hofmail.zzn.com> wrote:
> That changes the error message into "Unknown column 'day' in 'field list'".
> What should the question mark do? Is it documented somewhere?

I found it necessary for the connector to properly execute the stored
procedure.  I had similar errors until I added the question mark.  Why
this does not work doesn't make sense to me, but you might try using
an @ prefix instead of the question mark, as this documentation seems
to suggest:

<http://dev.mysql.com/doc/refman/5.0/en/connector-net-using-stored.html#connector-net-using-stored-calling>

-- 
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers


More information about the Mono-list mailing list