You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 4, 2022. It is now read-only.
{% macro grant_select() %}
{% set sql %}
grant select on orders to psofa
{% endset %}
{% do run_query(sql) %}
{% do log("Privileges granted", info=True) %}
{% endmacro %}
This macro does not work:
{% macro grant_select() %}
{% set sql %}
grant select on orders to psofa;
grant select on orders to psofa;
{% endset %}
{% do run_query(sql) %}
{% do log("Privileges granted", info=True) %}
{% endmacro %}
and gives the following error:
Oracle error: ORA-00933: SQL command not properly ended
Rolling back transaction.
Encountered an error while running operation: Database Error
ORA-00933: SQL command not properly ended
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
This macro works:
This macro does not work:
and gives the following error:
The text was updated successfully, but these errors were encountered: