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_prepare

原型
sasql_stmt sasql_prepare( sasql_conn $conn, string $sql_str )
说明

准备所提供的 SQL 字符串。

参数

$conn   由连接函数返回的连接资源。

$sql_str   要准备的 SQL 语句。此字符串可通过在适当位置嵌入问号来包含参数标记。

有关 SQL 语句的详细信息,请参见SQL 语句

返回值

语句对象或 FALSE(失败时)。

相关函数