![]() |
| ||
| Error in If statement I am trying to create Update trigger which should be invoked only if the ReturnedOn column is clicked. I have used the following code-snippet but it generates the error: CODING: create TRIGGER trg_ForUpdateOnBookIssuedDetails ERROR STATEMENT: Msg 156, Level 15, State 1, Procedure trg_ForUpdateOnBookIssuedDetails, Line 9 Incorrect syntax near the keyword 'begin'. I want the trigger to be fired only if the ReturnedOn column is updated, however if anyother column is updated the trigger should not be fired. Can anyone help me identify the error and changes I should make to rectify this error? Thanks in advance!! |
| ||
| Re: Error in If statement create TRIGGER trg_ForUpdateOnBookIssuedDetails Line # 27 - begin is missing |
| All times are GMT -4. The time now is 11:46 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC