我只是在网上冲浪,发现了一个类似的查询:
sql = "select milk_rate from special_milk_rate
where code_producer_id=? and effective_from <= ?
and effective_till >= ?"
Run Code Online (Sandbox Code Playgroud)
这个查询究竟意味着什么意味着什么是使用?在这个声明中.
还有一件事是在sql中使用&.
这通常意味着准备好的语句,其中的参数将在以后填充.(参见例如http://en.wikipedia.org/wiki/Prepared_statements#Parameterized_statements).
| 归档时间: |
|
| 查看次数: |
33209 次 |
| 最近记录: |