On Mar 17, 3:57 am, jose <[EMAIL PROTECTED]> wrote: > May be you may assign the MAXLENGTH depending on the database, for example: > > * MySQL = 64 > * PostgreSQL = 64 - 1 > * Firebird = 31 ? > * Oracle = 30 > * MS-SQL = 128
well yes thats the whole issue. we are doing the length truncation at the point at which you create a SQL construct. s = select([foo.label("im_a_long_label"]) no dialect/database has entered the equation at that point. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---