I have written aa insert query in a stored procedure…
INSERT INTO `ascencom_soa2`.`rardata` (`threatDescription`,`rtpControlObjective`,
`rtpNonTechnical`,`rtpISOControl`,
`rtpWorkInstructions`,`VulnerabilityDescription`,
`assetname`,`companyid`,`assetid`)
VALUES (threatDesc,rtpcontrol,
rtpNon,rtpISO,
rtpWork,rtpvulnarabilityDesc,
idAsset,idCompany,idAssetType);
Here threatDesc, rtpcontrol, trpNon.... are variables and are initialized before the insert query is executed…
but it is give me error…
1054 : Unknown column ‘threatDesc’ in ‘field list’
please help me with this problem
1 Answer