When generating a create table script is there a way to have it include the creation of the primary key?
In order to include PK in script generation you should open RHS Script tab of
the table and check ‘Primary keys’ checkbox. Now PK will be
displayed in script when you use ‘Generate SQL’