SQL-Goto语句 [英] Sql - goto statement
本文介绍了SQL-Goto语句的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在SQL查询中使用'goto'语句是一种好习惯吗?
Is it good practice to use 'goto' statements in SQL queries?
推荐答案
取决于SQL,某些方言除了GOTO之外没有提供用于流控制的有用机制.
Depends on the SQL - some of the dialects don't provide a useful mechanism for flow control other than GOTO.
GOTO通常是错误的形式.
GOTO is generally bad form.
这篇关于SQL-Goto语句的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文