Skip to content

Using * to specify columns on tables with columns of identical names results in one of the columns being suppressed #22

Closed
@joncard1

Description

@joncard1

I will attach the class files used to create the tables, but the following command resulted in a result set with only the columns ID and Name:

INSERT INTO SQLUser.Table1 (Name) VALUES ('Name 1')

INSERT INTO SQLUser.Table2 (Name) Values ('Name 2')

SELECT * FROM SQLUser.Table1 CROSS JOIN SQLUser.Table2

I expected either the columns "ID", "Name", "ID", "Name" as in the Management Portal, or "SQLUser.Table1.ID", "SQLUser.Table1.Name", "SQLUser.Table2.ID", "SQLUser.Table2.Name". All 4 columns should display.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions