SQL Access Query like expression not working

隐身守侯 提交于 2019-12-25 07:49:50

问题


I'm trying to test a query using 'like' but i'm not getting any results back. I tried using UPPER() but when I executed the query, access said that UPPER was undefined?

SELECT ITEM.Category, ITEM.Description
FROM ITEM
WHERE ITEM.Category LIKE '%Plate%';

回答1:


Try this

    SELECT ITEM.Category, ITEM.Description
    FROM ITEM
    WHERE ITEM.Category LIKE '*Plate*';


来源:https://stackoverflow.com/questions/21396755/sql-access-query-like-expression-not-working

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!