Skip to content

New rule: Never user DML within a SQL macro. #120

Closed
@PhilippSalvisberg

Description

@PhilippSalvisberg

Inspired by this tweet: https://twitter.com/connor_mc_d/status/1466006049333211137?s=20 by @connormcd

select could make sense in some use cases. Maybe also some logging as part of an autonomous transactions, to see when a macro is executed. All other use of DML statements are questionable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions