Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
直接执行 SQL 语句字符串。
public virtual bool ExecuteStatement(const char * sql)
sql 要执行的 SQL 脚本。
如果成功,则返回 true;否则返回 false。
使用此方法直接执行 SELECT 语句并检索单一结果。
使用 PrepareStatement 方法以变量参数重复执行语句,或读取多个结果。