Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » SQL Anywhere 服务器 - 编程 » SQL Anywhere 数据访问 API » SQL Anywhere PHP API » SQL Anywhere PHP API 参考

 

sasql_stmt_field_count

原型
int sasql_stmt_field_count( sasql_stmt $stmt )
说明

此函数返回语句结果集中的列数。

参数

$stmt   语句资源。

返回值

语句结果中的列数。如果语句不返回结果,则它返回 0。

相关函数