SQL Server Transact Basic to Expert - Add Check constraints to existing tableKarthikeyan Anbarasan15yPublished Jun 7, 2011, 12:00 AMUpdated Jun 7, 2011, 8:11 AM3.2k00Reactions×25BlogThis blog show how to add a check constraint to an exisiting tableSyntax:ALTER TABLE tablenameWITH CHECK or WITH NOCHECKADD CONSTRAINT constraintnameCHECK (logicalexpression)CommentsJoin the conversation! Your thoughts help the community grow.Sign in to leave a commentIt is the same account you read, post and publish with — and you will come straight back to this page.Sign inCreate an account
Join the conversation! Your thoughts help the community grow.