Cannot define PRIMARY KEY constraint on nullable column in table 'Student'. code example
Example: Cannot define PRIMARY KEY constraint on nullable column in table 'Student'.
ALTER TABLE tbl_name alter column column_name int NOT NULL
ALTER TABLE tbl_name alter column column_name int NOT NULL