sqlsql-serverauto-incrementpowerdesigner

Power Designer 16.6 don't create AUTO_INCREMENT to primary column


I have a problem with PowerDesigner. It doesn't generate AUTO_INCREMENT option for primary columns.

I have int column with Primary key checked in my table, but in generated script there's no AUTO_INCREMENT. DBMS is Microsoft SQL Server 2012.


Solution

  • A primary key identifies the row. There are plenty of options apart from auto_increment columns, including composite key, values provided from external systems.

    The Identity property on the column triggers the generation of the identity keyword in the script.

    enter image description here