SqlAlchemy and mssqlserver
Mike Driscoll
kyosohma at gmail.com
Tue Apr 21 16:18:10 EDT 2009
On Apr 21, 11:22 am, "Stefano" <stef... at 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
More information about the Python-list
mailing list