Description of MS SQL error messages | SQL Server Performance Forums

SQL Server Performance Forum – Threads Archive

Description of MS SQL error messages

How can I get description (not number which @@ERROR give)of MS SQL Error Messages in PHP.
Like we can get for MySQL using mysql_error, is there any alternative for the same?
Hi,<br />you can do this using * raiserror * , please read *RAISERROR* in BOL.<br /><br /><img src=’/community/emoticons/emotion-1.gif’ alt=’:)‘ /><br />Regards<br /><br />Hemantgiri S. Goswami<br />[email protected]<br />"Humans don’t have Caliber to PASS TIME , Time it self Pass or Fail Humans" – by Hemantgiri S. Goswami<br />
chk this url’s http://in2.php.net/error_log
http://www.informit.com/articles/article.asp?p=170279&rl=1
quote:Originally posted by harleen How can I get description (not number which @@ERROR give)of MS SQL Error Messages in PHP.
Like we can get for MySQL using mysql_error, is there any alternative for the same?

SURYA Be pure to do good.[Vivekananda]
Good to hear that there is someone else who looks at PHP with SQL Server. [<img src=’/community/emoticons/emotion-1.gif’ alt=’:)‘ />]<br /><br />Check this out: <br /<a target="_blank" href=http://www.sommarskog.se/error-handling-I.html>http://www.sommarskog.se/error-handling-I.html</a><br /<a target="_blank" href=http://www.sommarskog.se/error-handling-II.html>http://www.sommarskog.se/error-handling-II.html</a><br /><br />–<br />Frank Kalis<br />Microsoft SQL Server MVP<br /<a target="_blank" href=http://www.insidesql.de>http://www.insidesql.de</a><br />Heute schon gebloggt?<a target="_blank" href=http://www.insidesql.de/blogs>http://www.insidesql.de/blogs</a><br />Ich unterstütze PASS Deutschland e.V. <a target="_blank" href=http://www.sqlpass.de>http://www.sqlpass.de</a>) <br />
]]>