When using Sequel, is it possible to produce a "SQL WHERE" clause that contains "COLLATE AS?":
ColumnName COLLATE Latin1_General_CS_AS
If not, then what can I use to do this?
I searched through the Sequel documentation and Stack Overflow and this has not been mentioned there.
Sequel 不直接支持COLLATE
,因此您必须在该部分使用文字 SQL:
where(Sequel.lit('? COLLATE Latin1_General_CS_AS', :ColumnName))
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.