다음 쿼리를 사용하고 있습니다.
INSERT INTO role (name, created) VALUES ('Content Coordinator', GETDATE()), ('Content Viewer', GETDATE())
그러나 기본 키 ()를 지정하지 않습니다 id. 그래서 내 질문은 왜 SQL Server 가이 오류로 돌아 오는 것입니까?
Msg 515, Level 16, State 2, Line 1
Cannot insert the value NULL into column 'id', table 'CMT_DEV.dbo.role'; column does not allow nulls. INSERT fails.
The statement has been terminated.
