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

Insert With Auto Increment Column

forums forums SQLyog SQLyog: Bugs / Feature Requests Insert With Auto Increment Column

  • This topic is empty.
Viewing 1 reply thread
  • Author
    Posts
    • #9877
      bandi
      Member

      Hello,

      I don't know if this has been addressed or not but here is the small issue i see.

      If i have a table let's say user with user_id PK and auto increment and user_name etc other fields

      when selecting on the Contextual Menu : PASTE SQL Statements -> INSERT into …

      the insert statement pasted contains the user_id also in the insert:

      insert into user (user_id,….) values (user_id,…..)

      since this is a primary key with auto increment user id should NOT be present in this insert statement.

      What do you think?

    • #22430
      peterlaursen
      Participant

      It has not been adressed.

      Actually it would be smart if we /* commented out */ such column. However with every column having a DEFAULT you could have similar wishes.

      This is not priority!

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