On May 18, 2008, at 11:34 AM, Arlo Belshee wrote:
>
> Here's the TSQL for a unique index:
>
> CREATE UNIQUE NONCLUSTERED INDEX IX_UQ_Sample ON Sample (
> first ASC, other ASC, something ASC)
>
> I defined Sample as:
>
> CREATE TABLE Sample(
> first int NOT NULL, something int NULL, other bit NULL)
>
> I don't know how you'd get SqlAlchemy to generate this when it makes
> tables for you.
>
theres a ddl() construct used for this. Some docs are at:
http://www.sqlalchemy.org/docs/04/sqlalchemy_schema.html#docstrings_sqlalchemy.schema_DDL
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---