Unsupported Screen Size: The viewport size is too small for the theme to render properly.

Semicolon before SQL?

forums forums SQLyog SQLyog: Bugs / Feature Requests Semicolon before SQL?

  • This topic is empty.
Viewing 1 reply thread
  • Author
    Posts
    • #7669
      rbickers
      Member

      It seems odd to me (and is causing me a little frustration) to insert a ; character before the SQL statement. What happens is I go to type in a new statement and forget that the previously autogenerated SQL doesn't end with one, then I get a syntax error and have to put one there myself.

      I makes more sense, IMO, to end the statement with a ;. Is there a reason it is the way it is?

      I guess consider this a feature request.

    • #13673
      CalEvans
      Member

      3+ months of testing this tool and I never noticed that. 🙂

      The ; before the statement is so you don't get an error if you haven't put one at the end of the last statement. It probably needs to stay. But I agree that it would be nice to stick the closing ; on there for us.

      =C=

Viewing 1 reply thread
  • You must be logged in to reply to this topic.