views:

28

answers:

1

Hi,

I am trying to specify this check constraint on a column via SQLAlchemy.

delete_flag char(1) not null CHECK(delete_flag in('Y','N')),

I am not able to figure out the syntax to achieve this. Any link, tutorial, advise will be of great help.

Thanks Tara Singh