You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you create a table that has a column that is both auto increment, and a primary key, and you afterwards try to export a create table script from it, it will remove the auto increment part of it.
Steps to reproduce:
Create a table: CREATE TABLE TEST (TEST INT NOT NULL GENERATED ALWAYS AS IDENTITY (START WITH 0, INCREMENT BY 1) PRIMARY KEY);
Verify table in objects view > columns
Right click table TEST > Scripts > Create table script
Expected result: Create table query with a column with both auto increment, and primary key properties
Actual result: Create table query with only a primary key property
This is a property I found now, do not know if other column properties have the same issue