SQL PowerDesigner中设置字段为auto_increment

阅读(2920)

如下操作:

  1. 选中表中需要设置为auto_increment的字段(点一次选中表,再点一次选中字段)
  2. 双击
  3. 在弹框中“General”Tab下,选中右下角的“Identity”复选框

此时,回到表的选择(点一次表)状态,选择“Preview”Tab,即可看到生成后的SQL中包含了auto_increment属性。