问题
With MSSQL, I can mix in case, if...then, and while constructs in my SQL code. Is anything similar available for SQLite? I have not seen anything on "mixing procedurally" with SQLite, anywhere.
Thanks.
回答1:
SQLite doesn't have any loop syntax - FOR
or WHILE
. CASE
statements are supported rather than IF.
来源:https://stackoverflow.com/questions/1885702/sqlite-flow-constructs-in-sql