建議:目前記錄集不支援更新。這可能是提供者的限制,也可能是選定鎖解決方法入下: rs.cursorlocation = 3 rs.open sql,conn,1,3
一般來說使用模糊查詢,大家都會想到LIKE
select * from table where a like '%字元%'
如果一個SQL語句中用多個like模糊查詢,而且記錄條數很大,那速度一定會很慢。
以下兩種方法也可實現模糊查詢:
select * from table where patindex('%字元%',a)>0
select * from table where charindex('字元',a)>0
經測試這兩種方法比LIKE速度快。
分享:asp常見錯誤分析與解決方法錯誤提示: ADODB.Recordset 錯誤'800a0cc1' Item cannot be found in the collection corresponding to the requested name or ordinal. /index.asp,行15 錯誤原因:伺服器上安裝動易元件最新元件,但網站系統是使用的4.0 ,系統沒有找到對應的欄位。動易組