i am doing this, to write the the event log :set @Msg='Number of Rows Deleted on is : ' +Cast (@@ROWCOUNT as varchar(10))RAISERROR (@Msg ,50000,1)
the thing is that if i try in a Stored Procedure concat a string i recive "error near '+' " ,and the code is this :RAISERROR ('Number of Rows Deleted on is : ' +Cast (@@ROWCOUNT as varchar(10)),50000,1)why i cant just do like the second code,but must do like the first 1?thnaks in advancepelegIsrael -the best place to live in aftr heaven 9but no one wan't to go there so fast -:)