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.
| Author |
Topic |
|
steelkilt
Constraint Violating Yak Guru
255 Posts |
Posted - 2002-11-05 : 13:21:17
|
| Can someone tell me why SQL delivers "Error 207" invalid fieldnames, when I try to create this trigger? My fieldnames are valid but the fields listed after COALESCE are tagged by SQL as invalid??=======================================================CREATE TRIGGER maintable_ratableON maintableFOR INSERT, UPDATEASIF COALESCE (valid_fieldname1, valid_fieldname2,valid_fieldname3) IS NOT NULLBEGININSERT INTO valid_fieldname_4 VALUES ('R')ENDELSE INSERT INTO valid_fieldname4 VALUES ('NR') |
|
|
steelkilt
Constraint Violating Yak Guru
255 Posts |
Posted - 2002-11-05 : 13:22:20
|
| sorry, wrong forum, will post to developer. |
 |
|
|
|
|
|