On Apr 25, 2008, at 10:36 AM, sniffer wrote:
> > inserted into an identity column.How do i make SA understand to leave > the autoincrement field value i.e. not to insert anything into it and > let the field take the default value set in the database. > any help will be great i need to turn in this stuff in a day. > I dont use MS-SQL but the SQLA dialect has a flag called "auto_identity_insert" you can turn off....create_engine(url, auto_identity_insert=False) . Not sure if thats the right approach here though. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---