Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

column does not allow nulls. UPDATE fails. 1

Status
Not open for further replies.

nevets72

Programmer
Feb 6, 2002
22
US
Hi....I'm trying to delete a record from a table, but I get the following message:

Attempt to insert the value NULL into column 'Employee_Type_ID', table 'staftrak.dbo_Outlook_Total'; column does not allow nulls. UPDATE fails.
Command has been aborted.

The column 'Employee_Type_ID' is an integer field, and it does not allow NULLS, which I'm assuming is why I get the above message. However, I'm not trying to INSERT.....I want to DELETE, so I'm not sure:

A) Why the message I get back refers to an INSERT?
B) How can I remove the record from the table?

Thanks!
 
Sounds like there may be a delete trigger on the table that's trying to do an update...

 
That's it.....I checked the table, and it does have a trigger! I don't know how I overlooked that. Thanks guys!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top