[sqlalchemy] Creating table with oracle

2011-02-09 Thread Eduardo
Hi, I want to create the following table: Table('Error', metadata, Column('Type', String), Column('reference', String), Column('context', String), Column ('Timestamp', DateTime, primary_key=True),) with the oracle DB. I receive this: sqlalchemy.exc.Error:

Re: [sqlalchemy] Creating table with oracle

2011-02-09 Thread Michael Bayer
String() needs a length with Oracle, MySQL, and several others. On Feb 9, 2011, at 10:39 AM, Eduardo wrote: Hi, I want to create the following table: Table('Error', metadata, Column('Type', String), Column('reference', String), Column('context', String),