CodeIgniter Forums
Are errros even supported in MS SQL? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Are errros even supported in MS SQL? (/thread-29945.html)



Are errros even supported in MS SQL? - El Forum - 04-27-2010

[eluser]0plus1[/eluser]
Yes, they are:

Code:
In file: mssql_driver, line 401 method: _error_message

Add the line:

Change:

Code:
return false;

to:

Code:
return mssql_get_last_message();

This will print the error messages from mssql.