【发布时间】:2013-03-23 16:45:40
【问题描述】:
我使用 google 脚本和我的 MySQL 数据库的 JDBC 连接器。我想使用变量运行查询,例如:
var rs = stmt.executeQuery("select*from Comuni where nomeComune=v");
如何让 JDBC 将末尾的 v 解释为变量?
【问题讨论】:
-
参数化查询 - 通常带有“?”
标签: mysql jdbc google-apps-script