Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
oracle 中是否有针对 MySQL 的 Binary 的等效语句?
例子:
Select * from table1 where BINARY column1 = BINARY column2;
它强制进行精确的区分大小写的匹配。除了将两列都转换为 UPPER 或 LOWER 之外,还有什么不同的语句吗?
SELECT * FROM table1 WHERE NLSSORT(column1, 'NLS_SORT = Latin_CS') = NLSSORT(column2, 'NLS_SORT = Latin_CS')
在某处找到了答案。