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

Alter Table Raised Error

forums forums SQLyog SQLyog: Bugs / Feature Requests Alter Table Raised Error

  • This topic is empty.
Viewing 3 reply threads
  • Author
    Posts
    • #10639
      Daniel Tho
      Member

      Hi,

      I love SQLYog a lot and it feels great to work with it. I have installed SQLYog community edition version 6.13 (final) to work with mysql 5.0.41. I encountered a syntax error prompt when I was trying to add a new field with comments. Here are the steps to reproduce the error:

      a) Create a table named test1 with some fields.

      😎 In the object browser, select test1 and right click on mouse button.

      c) Select “Alter Table…” and then add a new field to test1.

      d) Type some comments under the Comment column for this new field.

      e) Click the Alter button.

      Whenever I do this everytime, I encountered MySQL Error with error number 1064. The error description is something like this:

      ” You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'after ``' at line 2.

      From the error prompt, I found this sql statement generated:

      alter table `ips`.`table1` add column `dafad` bit NULL COMMENT 'stest',

      after `password`

      Please help me to fix this error. Thank you 🙂

    • #25351
      Mahesh
      Member

      Isuue Confirmed !

      We will Fix this with high priority !

      Thanks for reporting.

    • #25352
      LCS
      Member

      Yes, I can confirm heavy bugs in ALTER syntax in 6.12

      Seems someone has a problem with commas in loops? 😉

      Hello developers, do you actually test your code from time to time?

      (just look e.g. at the syntax of generated multiple “change” directives in a yog SQL while altering)

      Hope you'll get that fixed pretty soon!

      This version 6.12 is not very productive for me… ;(

      AND, while we're at it, the moving of the ini file was a desaster *grr*

      Thanx & bye,

      Lcs

    • #25353
      peterlaursen
      Participant
Viewing 3 reply threads
  • You must be logged in to reply to this topic.