November 6, 2008 at 10:01 am
Hi guys
I am using SQL server express 2005
I have a table where if the column MessageDescriptor equals 167 or 168 then the value on userdata column has to be unique.
I am sitting on it for the whole day trying to find a solution which doesnt include a trigger before insert. Any ideas would be really appreciated
Thanks
Alvaro
November 6, 2008 at 10:09 am
use an insert/update trigger to check the condition and rollback if invalid.
Johan
Learn to play, play to learn !
Dont drive faster than your guardian angel can fly ...
but keeping both feet on the ground wont get you anywhere :w00t:
- How to post Performance Problems
- How to post data/code to get the best help[/url]
- How to prevent a sore throat after hours of presenting ppt
press F1 for solution, press shift+F1 for urgent solution 😀
Need a bit of Powershell? How about this
Who am I ? Sometimes this is me but most of the time this is me
November 6, 2008 at 10:18 am
So there isn't other way to do it rather than a trigger. :(. Thanks anyway
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply