Alter command with constraints
Hello, and welcome to the blog. In this blog we are going to talk about " Alter command with constraints ". In the previous blog we have seen how to create a table with constraint. If you are following the blog we already have a table "Employee", what if we have to apply constraints to that table. Don't worry "ALTER" command is there to help us. So, In this blog we are going to talk about Adding Constraints Adding null/ not null constraint Adding UNIQUE constraint Adding CHECK constraint Adding Default constraint Adding Index Knowing Constraints Renaming Constraints Removing Constraints Let's begin with, 1) Adding Constraints When we initially started, we created a simple table without any constraints here. So we are going to add constraint in that ta...