Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Check for nulls being inserted via a Trigger

Author  Topic 

JR83
Starting Member

31 Posts

Posted - 2014-08-07 : 04:36:55
HI There

I want to check when a null value is being inserted in the column in my table using my existing trigger

At the moment i have eliminated duplicates, but instead of saving the duplicate a null value is placed into the column if there is a duplicate entry

ahmeds08
Aged Yak Warrior

737 Posts

Posted - 2014-08-07 : 05:11:02
add a NOTNULL constraint on that column

Javeed Ahmed
Go to Top of Page
   

- Advertisement -