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.
我想在 ORDER BY 语句中用 char(20) 替换 char(160),但是
ORDER BY REPLACE(column,CHAR(160),CHAR(20))
抛出异常,因为 CHAR() 未知。如何在 SQLITE 中转换 ascii 代码?
ORDER BY REPLACE(column, CAST(X'A0' AS TEXT), CAST(X'14' AS TEXT))
A0并且14是十六进制格式
A0
14