Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trigger built unique key not supplied
Message
From
15/07/2005 13:56:29
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Database design
Title:
Trigger built unique key not supplied
Miscellaneous
Thread ID:
01033118
Message ID:
01033118
Views:
62
I am trying to create an instead of trigger that builds a unique key based on other items inserted into the table. My trigger works fine if I put any bogus/temp value into the unique key field, but gives a: 'Column can not be null.' error if I try to enter the data without anything in the field.

Is there a way around this, or do I always need to insert a temp value to satisfy the key field entry?
Thank You

Rollin Burr

Politicians and diapers have one thing in common. They should both be changed regularly, and for the same reason.
Next
Reply
Map
View

Click here to load this message in the networking platform