关于mssql的有关问题,

WBOY
Release: 2016-06-13 13:28:19
Original
903 people have browsed it

关于mssql的问题,急急急
我用的数据库是mssql 非mysql哦
我定义了一条sql语句 $sql
然后也连接成功了
但是为什么不能用mssql_query 、 mssql_nums_rows类似的呢?

Warning: mssql_query() [function.mssql-query]: Query failed in /opt/coolstack/apache2/htdocs/invoicelog/dealmssql.php on line 113

Warning: mssql_num_rows(): supplied argument is not a valid MS SQL-result resource in /opt/coolstack/apache2/htdocs/invoicelog/dealmssql.php on line 114


------解决方案--------------------
第一条错误是说你查询失败了
第二条错误时伴生的,查询失败了当然就不能取值了

检查你的 SQL 指令
------解决方案--------------------
Invalid column name 'BU'
无效的列名 BU 你的表中有BU字段吗?

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template