Skip to Content.
Sympa Menu

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

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] Function sequence error from Linux => SQL Server 2000
  • Date: Fri, 30 Apr 2004 08:38:08 +0200

>
> 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?

freddy77




Archive powered by MHonArc 2.6.24.

Top of Page