Reputation: 11
Here is my query, but when I execute it, I get an error and the column does not exist in my table SLCCMN
.
Please help - what's the problem?
INSERT INTO [Sales Ledger Transactions] (STMN, STSLMN, STInvoiceNum)
VALUES ('16989632', '1', '1')
Error:
Invalid column name 'SLCCMN'
Upvotes: 1
Views: 1070
Reputation: 31775
Check the table for triggers, and see if there is an invalid column reference in the trigger code.
Then either remove the trigger, or remove the reference to the SLCCMN column in the trigger's code.
Upvotes: 4