sql查询语句问题
sql="select * from sj where yue="+cstr(numyue)+" and ri ="+cstr(numri)+"order by dateandtime desc"这样对吗
我想在表sj中查找同时符合字段yue 和ri的记录
2005-12-23 17:00
2005-12-23 17:10

2005-12-23 17:21

2005-12-23 17:27
2005-12-23 17:31
2005-12-23 17:36
Active Server Pages 错误 'ASP 0113'
脚本超时
/kpw/kjssdjt.asp
超过了脚本运行的最长时间。可以为 Server.ScriptTimeOut 属性指定新值或更改 IIS 管理工具中的相应值来更改此限制。

2005-12-23 17:37
2005-12-23 18:04
,我最早问的就是想提醒你在asp中连接字符是用“&”的

2005-12-23 18:09
试一下:
sql="select * from sj where yue like #"&cdate(request("numyue"))&"# and ri like '%"&trim(request("numri"))&"%' order by dateandtime desc "

2005-12-23 18:09