php 连接mssql时遇到的问题
2013-03-13 15:45
169 查看
http://hi.baidu.com/subendong/item/cc8130174aa66a0db98a1ab1 参照了这页面的解决方法 是lamp下的 问题没有解决
加了一下端口(端口应该是"host:1433",而不是有些说的 "host,1433"),结果可以连接但不能查询
message: Heterogeneous queries require the ANSI_NULLS and ANSI_WARNINGS options to be set for the connection. This ensures consistent query semantics. Enable these options and
then reissue your query
报这个错误 google了一下 要
mssql_query("SET ANSI_NULLS ON");
mssql_query("SET ANSI_WARNINGS ON");
就可以了
--eof--
加了一下端口(端口应该是"host:1433",而不是有些说的 "host,1433"),结果可以连接但不能查询
message: Heterogeneous queries require the ANSI_NULLS and ANSI_WARNINGS options to be set for the connection. This ensures consistent query semantics. Enable these options and
then reissue your query
报这个错误 google了一下 要
mssql_query("SET ANSI_NULLS ON");
mssql_query("SET ANSI_WARNINGS ON");
就可以了
--eof--
相关文章推荐
- php连接mssql中遇到无法连接的问题
- php使用开源的adodb连接mssql解决乱码问题
- 关于PHP无法连接MSSQL数据库的问题
- SQL Server 2005用户管理 以及PHP 连接SQL Server 2005 遇到的问题
- php连接oracle数据库遇到的问题
- php连接mssql的故障问题
- 关于PHP无法连接MSSQL数据库的问题
- php的mssql_connect+端口连接不了的问题
- LINUX下php连接mssql数据库中文字符乱码问题解决
- php+mssql的遇到一些问题
- php连接mssql的故障问题mssql_connect() [function.mssql-connect]: message: 登录失败。 (severity 14)
- PHP连接MSSQL的问题
- 本地windows下PHP连接远程oracle遇到的诸多问题
- php连接mysql学习过程中遇到的各种问题总结
- php 连接 mssql 常见的所有问题
- 同样遇到PHP 连接SQL2008 查询出现中文乱码问题
- 解决php5.6连接64位系统下mssql2008的错误问题
- php连接mssql的故障问题mssql_connect() [function.mssql-connect]: message: 登录失败。 (severity 14)
- 在apache连接多php的时候遇到了问题,怎么切换多个php版本?