i am raising an error in a DTS and it works finebut when i try to update a global variable , the RAISE ERROR dosent effect any more!Declare @RowCount as bigintDeclare @Msg char(100)set @RowCount=count(id) from TempTableset @msg='DTS Package : TempTable Has Reached , size = '+LTRIM(RTRIM(cast(@RowCount as varchar(50)))) + ' Rows 'select @msg //***** LINE THAT MAKES THE PROBLEMif RowCount >10 RAISERROR (@msg, 50000, 1) with log
LINE THAT MAKES THE PROBLEM ==>> if i remove the line the raise error works fine, if i putit back the raise error has no effect - any idea why?thnasks i nadvancepelegIsrael -the best place to live in aftr heaven 9but no one wan't to go there so fast -:)