Possible Duplicate:
SQL Server bit column constraint, 1 row = 1, all others 0
Hi all,
Say I have a table called TableA containing a BIT
field. Is there any way I can enforce only one row in a table to be ever set at 1
?
Edit: No triggers, please!
Thank you very much.