所以,我在网上到处寻找这个简单的答案……但我找不到。
我正在尝试通过冷融合查询搜索访问数据库。
<cfquery name = "x" datasource = "cassupport_computers">
SELECT last, first, dept, location, purchasedate, (last + ' ' + first + ' ' + dept + ' ' + location + ' ' + purchasedate AS searchs)
FROM cas_computers
WHERE searchs like '%#form.searchfield#%'
</cfquery>
我究竟做错了什么?X: