I am editing SQLite SQL statements of substantial length.
How can I break these into several lines to allow comfortablt editing?
const char *sql = "SELECT arguments arguments arguments arguments arguments arguments arguments arguments arguments arg开发者_如何学运维uments FROM a, b, WHERE condition condition condition condition condition condition condition"
into
const char *sql = "SELECT arguments arguments arguments arguments arguments
arguments arguments arguments arguments arguments
FROM a, b
WHERE condition condition condition"
cheers
const char *sql = "SELECT arguments arguments arguments arguments arguments"
"arguments arguments arguments arguments arguments"
"FROM a, b"
"WHERE condition condition condition";
精彩评论