Skip to content

Mutable Package-Level Variable (p_version) #6

Description

@Imran-imtiaz48

The variable p_version is declared at the package level without the constant keyword:

p_version varchar2(50) := '0.0.1';

Because it is not defined as a constant, its value can be modified at runtime by any procedure or function within the package body. Version identifiers are typically intended to be immutable metadata. Allowing modification can lead to unintended changes, inconsistent version tracking, and maintenance issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions