磁漆和油漆的区别:ASP中怎么样在ACCESS中查找COSTID大于等于Request.form("aa"),小于等于Request.form("bb")的记录?

来源:百度文库 编辑:查人人中国名人网 时间:2024/04/29 10:31:27
希望能把具体的ASP语句写出来,拜托了...
以上各项都是整型的....比如查找(100~200)之间的所有数据

select * from tablename where costid between "&request.form("aa")&" and "&request.form("bb")

OR

select * from tablename where costid >="&request.form("aa")&" and costid<="&request.form("bb")