HI,
There are 2tables in the "mydatabse" .
1. Tools
2. ToolsRepair
there are some columns in the above two tables.
Toolid is the primary key of the Tools table and also FK for the ToolsRepair
and also there are some other columns in the two tables
I am trying to insert the all details of the ToolsRepair table using that FK_ Toolid
but I am getting the error,
Cannot insert the value NULL into column 'Tool_id', table 'ToolApp.dbo.To olsRepair'; column does not allow nulls. INSERT fails. The statement has been terminated.
please help me out...
thanks in advance
There are 2tables in the "mydatabse" .
1. Tools
2. ToolsRepair
there are some columns in the above two tables.
Toolid is the primary key of the Tools table and also FK for the ToolsRepair
and also there are some other columns in the two tables
I am trying to insert the all details of the ToolsRepair table using that FK_ Toolid
but I am getting the error,
Cannot insert the value NULL into column 'Tool_id', table 'ToolApp.dbo.To olsRepair'; column does not allow nulls. INSERT fails. The statement has been terminated.
please help me out...
thanks in advance
Comment