MySQL常用字符串函数(3)

mysql> select strcmp('text','text'); +-----------------------+ | strcmp('text','text') | +-----------------------+ | 0 | +-----------------------+ mysql> SELECT strcmp('text', 'text2'),strcmp('text2', 'text'); +-------------------------+-------------------------+ | strcmp('text', 'text2') | strcmp('text2', 'text') | +-------------------------+-------------------------+ | -1 | 1 | +-------------------------+-------------------------+

Linux公社的RSS地址https://www.linuxidc.com/rssFeed.aspx

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/57fc3dfe1d8376f54ca4690aa1f7b5f7.html