Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
PhilippSalvisberg opened this issue Dec 1, 2021 · 1 comment
Closed

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

PhilippSalvisberg opened this issue Dec 1, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@PhilippSalvisberg
Copy link
Collaborator

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.

@PhilippSalvisberg PhilippSalvisberg added the enhancement New feature or request label Dec 1, 2021
@connormcd
Copy link

connormcd commented Dec 1, 2021 via email

@kibeha kibeha closed this as completed in 1ed8e32 Jul 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants