Anybody know any php frameworks that su开发者_JAVA技巧pports full SQL server 2008 ??
I know Codeigniter supports mssql.
Not sure if you are looking for a framework specific connection to MS SQL server however PHP does have support for SQL server connections with mssql_connect();
mssql_connect()
As user644051 had already mentioned below - present driver to connect CI with MSSQL is SqlSrv.
I managed to connect CI with MS SQL 2008 and started to work with it.
BUT the way you have to twist your CI code to force database to cough up the results... is not worth the effort.
Bottom line: MSSQL driver is not optimized to work flowlessly with CI contrary to MYSQL which allows for easy and smooth work.
For example SqlSrv driver doesn't work for CI insert_batch().
Although I'd like to use flexibility that MSSQL server offers - at the moment we have to wait for a driver that will allow for such a luxury in CI. So for the moment I discourage you to use CI with MSSQL.
精彩评论