How To Create Check Constraint Particular Table name

Jayakumars
Posted by Jayakumars under SQL Server category on | Points: 40 | Views : 626
11.-- How To Create Check Constraint Particular Table name --
ALTER TABLE [dbo].F12Test  WITH CHECK ADD 
CONSTRAINT [ck_F12Test] CHECK (([Active]='A' OR [Active]='B' OR [Active]='C'))

Comments or Responses

Login to post response