如何在C / Objective-C中跨多行拆分字符串文字?
我有一个很长的sqlite查询:
const char *sql_query = "SELECT statuses.word_id FROM lang1_words, statuses WHERE statuses.word_id = lang1_words.word_id ORDER BY lang1_words.word ASC";
如何在多行中打破它以便于阅读?如果我执行以下操作:
const char *sql_query = "SELECT word_id FROM table1, table2 WHERE table2.word_id = table1.word_id ORDER BY table1.word ASC";
我收到了一个错误。
有没有办法在多行中编写查询?
www说
炎炎设计
GCT1015
相关分类