如何比较区分大小写的字符串

How to do like compare on case sensitive string

select http_host,user_agent,date,path, count(*)
FROM "public"."bus_request" 
where app_name = 'yyyy' and event_type <> 'browser_js' 
    and date <= GETDATE() and date>= GETDATE()-14 and request_score <> '80' 
    and path  '%login%' COLLATE SQL_Latin1_General_Cp1_CS_AS

group by http_host,path, date, user_agent
order by http_host,date,count desc

我收到错误:SQL 错误 [500310] [42601]:亚马逊无效操作:"COLLATE" 处或附近的语法错误 位置:239;

默认值应区分大小写,如documentation:

中所述
path like '%login%' 

对于case-insensitive,使用ilike:

path ilike '%login%'