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_field_seek

原型
bool sasql_field_seek( sasql_result $result, int $field_offset )
说明

将字段游标设置为给定的偏移。下次调用 sasql_fetch_field 将检索与该偏移相关联的列的字段定义。

参数

$result   由 sasql_query 函数返回的结果资源。

$field_offset   一个整数,表示您希望在其中检索信息的列/字段。列的编号以零为基准;要获取第一列,应指定值 0。如果忽略此参数,则返回下一个字段对象。

返回值

TRUE(成功时)或 FALSE(错误时)。