[sqlalchemy] underscore in mssql column names?

2010-05-19 Thread mte
Hi, I need to connect to an existing MS SQL database with SqlAlchemy. I'm using a declarative_base (haven't tried with manual mapping) and it seems to work except for a few fields. Those are all defined as col1 = Column('some_field_with_underscores_in_name', AnyType) (AnyType meaning Integer,

Re: [sqlalchemy] underscore in mssql column names?

2010-05-19 Thread Michael Bayer
there's no issue with underscore column names so something else must be going on. On May 19, 2010, at 7:47 AM, mte wrote: Hi, I need to connect to an existing MS SQL database with SqlAlchemy. I'm using a declarative_base (haven't tried with manual mapping) and it seems to work except for a

Re: [sqlalchemy] underscore in mssql column names?

2010-05-19 Thread Conor
On 05/19/2010 06:47 AM, mte wrote: Hi, I need to connect to an existing MS SQL database with SqlAlchemy. I'm using a declarative_base (haven't tried with manual mapping) and it seems to work except for a few fields. Those are all defined as "col1 =