Skip to content

New objects not placed at end of script or clearly marked in generated SQL #19094

Open
@croblesm

Description

@croblesm

Hi @yoleichen, @aasimkhan30,

This is more a discussion than an actual bug. Is there a specific reason why new objects are not placed at the end of the script?

I created a new table called SalesTransaction, which you can see here (top left):
Image

When I click on View Code I have to search to find where is the CREATE TABLE statement:
Image

I see that the table is listed with all the CREATE TABLE statements. However, if we see this from a chronological perspective. My new table should be listed between lines 270 and 273, right before the ALTER TABLE that adds the constraint (FK):

Image

I'm also wondering if we can add comments to this script to "flag" new objects created by the designer as well.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions