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.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 EROR Messages

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2004-07-15 : 10:24:47
Yas writes "Hi

I want to trap error messages and store it into a table ..??

how can i do so ..

Thanks in advance

DBA"

ditch
Master Smack Fu Yak Hacker

1466 Posts

Posted - 2004-07-15 : 10:37:27
select * from master.dbo.sysmessages where error = @@error

That 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=37513

Duane.
Go to Top of Page
   

- Advertisement -