EllisLab/CodeIgniter — pull request #975 by narfbg (2012-01-26 00:12:27+00:00)
Title: Improve the SQLSRV (MSSQL) database driver

Changes include:

- Method/property visibility declarations
- Added random ordering support
- Changed `CI_DB_mssql_forge` and `CI_DB_mssql_utility` to use `protect_identifiers()`, instead of `_protect_identifiers()` at the latter is supposed to be a protected/private method and is currently declared as public because of such uses
- Fixed possible issues with `_error_message()` and `_error_code()`
- Fixed a possible issue with `insert_id()`
- Removed an unneeded `_parse_major_version()` method and fixed version methods to not use an SQL query on top of the already known version
- Minor speed improvements
- General clean up