在SQL中的SQLite流构造? [英] SQLite Flow Constructs in SQL?

查看:163
本文介绍了在SQL中的SQLite流构造?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

用MSSQL,我可以混合的情况下,如果...然后,并在我的SQL代码中构造。有什么类似的SQLite可用?我没有看到任何与SQLite在任何地方进行混合的过程。



谢谢。

解决方案

SQLite没有任何循环语法 - FOR WHILE 。支持 CASE 语句而不是IF。


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.

解决方案

SQLite doesn't have any loop syntax - FOR or WHILE. CASE statements are supported rather than IF.

这篇关于在SQL中的SQLite流构造?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆