On Apr 21, 11:22 am, "Stefano" <stef...@vulcanos.it> wrote: > Using sqlalchemy with pyodbc and mssqlserver > Why sa always generate identity ? > > many thanks here the sample > > tb = Table('prova',meta,Column('chiave', Integer, primary_key=True)) > tb.create() > > CREATE TABLE prova ( > chiave INTEGER NOT NULL IDENTITY(1,1), > PRIMARY KEY (chiave) > ) > > Stefano
Try re-posting to the SqlAlchemy mailing list. They'll be able to tell you. Mike -- http://mail.python.org/mailman/listinfo/python-list