This Blog is about MSSQL server 2000/2005 and 2008
Friday, September 11, 2009
Writting into Win Application log from T-SQL
declare @msg varchar(1000) set @msg = 'LADBREPORT.mnSubscription.dbo.MemberTran table is missing records' RAISERROR (@Msg, 16, 1) WITH LOG --> this is Error exec xp_logevent 60000,@Msg, WARNING --> this is Warning
No comments:
Post a Comment