Skip to content

Computed columns with implicit/explicit datatypes are not distinguishable [CORE5168] #5451

Open
@firebird-automations

Description

@firebird-automations

Submitted by: Arioch (arioch)

Jira_subtask_inward CORE1407

As of today when inspecting the database (extracting metadata) tools can not tell inspecting COMPUTED-BY columns whether it was generated with specific user-mandate type or with default type.

create table xxx(
ID SMALLINT NOT NULL,

g_Default COMPUTED BY ( -ID )
g_Explicit SMALLINT COMPUTED BY (-ID)

g_Extended INTEGER COMPUTED BY (-ID)
);

At best one can use heuristics to for a guesswork whether the column LOOKS like being created with explicit/default datatype.

http://www.sql.ru/forum/1205742/skript-tablic-s-polem-vychislimogo-polya-s-yavnym-tipom

There seems to be no way to inspect the table and reconstruct/distinguish the declarations of both g_Default and g_Explicit

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions