SQL Server column does not allow nulls

The following SQL Server command text raises the error "column does not allow nulls"

INSERT INTO dbo.tbl_PS_ScorecardTmp
                      (ScorecardID)
VALUES     (111)

The column Scorecard design does allow nulls. Why do I get the error? Thanks
paulmcneilAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Aneesh RetnakaranDatabase AdministratorCommented:
seems like there is a non nullable column on your table
0
Scott PletcherSenior DBACommented:
There is another column in the table that is specified as "NOT NULL" in the table definition.

You need to add a value for any required column(s), for example:

INSERT INTO dbo.tbl_PS_ScorecardTmp
                      (ScorecardID, RequiredColumn1, RequiredColumn2)
VALUES     (111, 'A', 0)
0
Aneesh RetnakaranDatabase AdministratorCommented:
use this query to find
select * from sys.columns where is_nullable = 0 and object_id = object_id('tbl_PS_ScorecardTmp')
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Office

From novice to tech pro — start learning today.