[freetds] Function sequence error from Linux => SQL Server 2000

ZIGLIO, Frediano, VF-IT Frediano.Ziglio at vodafone.com
Fri Apr 30 02:38:08 EDT 2004

> I appreciate James's and freddy77's responses.  I am learning 
> from this.
> One more puzzling tidbit: I can insert the 8410 byte long record into
> the database as a Python non-Unicode string, but when I convert it to
> Unicode and try to insert it, Python raises the function 
> sequence error.
> The string does not become longer when converted to Unicode.  The mx
> connection object has its stringformat property set to
> MIXED_STRINGFORMAT and its encoding property set to 'utf-8'.
> The same applies whether I use the stored procedure or a 
> composed INSERT
> statement executed with the execute() method.

Chuck, I don't know Python that much. How to convert string to unicode?
How did you declare store procedure?


More information about the FreeTDS mailing list