How to DROP a PRIMARY KEY in MS SQL Server
Sometimes you may need to drop or delete primary key of a table in MS SQL Server. You can drop a primary key in SQL...
How to Create a PRIMARY KEY in SQL Server
A primary key is a column or a group of columns that uniquely identifies each record in a table. You can create a primary key...
How to Change Data Type of a Column in MS SQL Server
Sometimes you may need to change data type of a column in a table in MS SQL Server. To do this, you need to use...
How to Change Column Not to Allow NULL in MS SQL Server
Sometimes you need to set a restriction in a columns of a table which will not allow NULL values in MS SQL Server. To do...
How to Drop Columns in MS SQL Server
Sometime you may need to delete one or more unused or obsolete columns from your existing table. To do this, you need use theĀ ALTER TABLE...
How to Change a Column to Allow NULL in MS SQL Server
If you have a column in a SQL Server table that does not allow NULL values and you want to insert row(s) with NULL values,...