![]() |
| ||
| Help required for UPDATE TRIGGER Hi all, I have created the Trigger for UPDATING to be invoked when Returnedon column is updated using the following code snnipet. Now I want To perform this Updation only if the RETURNEDON column is null. If the ReturnedOn column consists of some other value then the Updation of records should not take place. Can anyone help me out in performing this task? Please help me out. Thanks in advance!! |
| ||
| Re: Help required for UPDATE TRIGGER Try to change: if(update(ReturnedOn)) To: IF (SELECT ReturnedOn FROM INSERTED) IS NULL |
| All times are GMT -4. The time now is 7:15 pm. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC