C
ccdarkness
Unregistered / Unconfirmed
GUEST, unregistred user!
我有个access数据库,50万条记录
表结构:
id(自动编号) contents(文本)
contents的内容是一个文件路径,如:"C:/WINDOWS/system32/DirectX/Dinput"
我想查询:"DirectX",如果用like语句:select contents from 表名 where contents like '%DirectX%' 查询会很慢的,如果不用like怎么样查询contents中包涵字符串"DirectX"的数据?
表结构:
id(自动编号) contents(文本)
contents的内容是一个文件路径,如:"C:/WINDOWS/system32/DirectX/Dinput"
我想查询:"DirectX",如果用like语句:select contents from 表名 where contents like '%DirectX%' 查询会很慢的,如果不用like怎么样查询contents中包涵字符串"DirectX"的数据?