RiddleMeThis
MIS
Why are GOTO statements bad?
I've been writing SQL without any GOTO statements but recently became aware that they can be used in SQL Server 2005, but when I try to research it, people just flame the use of it.
Everyone says it's bad practice, and there are almost always more elegant solutions, blah blah blah, but if it works then why not use it? We are writing SQL statements not composing classical music, whats the problem?
I've been writing SQL without any GOTO statements but recently became aware that they can be used in SQL Server 2005, but when I try to research it, people just flame the use of it.
Everyone says it's bad practice, and there are almost always more elegant solutions, blah blah blah, but if it works then why not use it? We are writing SQL statements not composing classical music, whats the problem?