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.
我有一个问题:想要将上标数据添加到 Sqlite 数据库
你能给我一个关于 INSERT 语句的例子吗?我不太了解<sub>and<sup>和 unicode 字符。
<sub>
<sup>
谢谢!
试试这个
NSString *num = @"20\u02b0"; NSString *insertSQL = [NSString stringWithFormat: @"INSERT INTO table_name (feild1,feild2) VALUES ('%@',' %@');",num,string2];