Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Yas writes "HiI want to trap error messages and store it into a table ..??how can i do so ..Thanks in advanceDBA"
ditch
Master Smack Fu Yak Hacker
1466 Posts
Posted - 2004-07-15 : 10:37:27
select * from master.dbo.sysmessages where error = @@errorThat is not a perfect solution though,I am still trying to figure that one out though.See thread below......http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=37513Duane.