Is it good practice to use 'goto' statements in SQL queries?
Depends on the SQL - some of the dialects don't provide a useful mechanism for flow control other than GOTO.
GOTO is generally bad form.