发新话题
打印

如何在语句的查询列中 使用url传来的 参数

url上,传入年份参数,比如myYear:
..... &myYear=2011&...

在sql中,使用:
select * from xxxx where year = ${myYear}

TOP

发新话题