Database Knowledge Base / MS SQL Server /
Add comment
Name:
Email:
* Comment:
(Use BBcode - No HTML)
code
* Confirmation code:   Write the characters in the image above exactly as you see it


How to insert a not null column in an existing table with records..?

Either assign a DEFAULT value to the column, or make it nullable to start with, populate the column and then alter it to NOT NULL



RSS