Good day! If I'd using of command "LIKE" with SQLAlchemy (with Firebird through Kinterbasdb), I'd got an error: ProgrammingError: (ProgrammingError) (-802L, "String overflow: value 6 bytes long cannot fit in character field of maximum length 4 (value is '%1082%').") 'SELECT count(1) AS count_1 \nFROM "CONTRACTS" \nWHERE "CONTRACTS".nunitcode = ? AND "CONTRACTS".ncont LIKE ? AND "CONTRACTS".contract LIKE ?' ['0', u'%1082%', u'%%'] Yes, the fieldsize "nunitcode" is 4. But WHY? The right side of command "LIKE" don't depend on size of field... A bug? The Scorpions song: "What can I do-o-o-o"...
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
