I am working on SQL Server. I have different databases and I am trying to insert values of one database table columns value into other database table columns and along with that there are few more columns which are not null and no data is inserted into those columns, while doing this I am getting error,
INSERT INTO dbo.DocComponent(MIMETYPE)
SELECT MIMETYPE
FROM Test67.dbo.PO_MIMETYPE;
Error:
Cannot insert the value NULL into column 'ID', table 'FullTextDB.dbo.DOCCOMPONENT'; column does not allow nulls. INSERT fails.
Could someone has solution for this...?