I'm having the error:
Index and length must refer to a location within the string
Parameter name: length
At the following code:
Bash |
There is nothing wrong with the code and others sql statements work well so why does it throw that error?
Thanks, Regards,
Mywk

Roei BarRank #1,271 · 1.4K reputationPosted Aug 8, 2009, 9:07 PM EDT
the code seems OK, i would advise you to work not with SQLCommand but Stored Procedures.
the Only thing that might cause this error is the :
Kirtan PatelRank #292 · 8.6K reputationPosted Aug 8, 2009, 9:30 PM EDT
http://bugs.mysql.com/bug.php?id=16627
Thank you