paulmcneil
asked on
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
INSERT INTO dbo.tbl_PS_ScorecardTmp
(ScorecardID)
VALUES (111)
The column Scorecard design does allow nulls. Why do I get the error? Thanks
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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)