Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.

Commit

Permalink
Snowhouse query updates
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-dodievich committed Nov 30, 2021
1 parent d957f82 commit d3e5106
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Snowhouse/SnowhouseGrantsToRoles.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Grants to Roles via Snowhouse
// snowsql -c snowhouse -f "SnowhouseGrantsToUsers.sql" -D DEPLOYMENT='deploymentoftheaccountyouwant' -D ACCOUNT_ID=accountidofaccountyouwant -o output_format=csv -o header=true -o timing=false -o friendly=false > "GRANTS_TO_ROLES.csv"
// snowsql -c snowhouse -f "SnowhouseGrantsToRoles.sql" -D DEPLOYMENT='deploymentoftheaccountyouwant' -D ACCOUNT_ID=accountidofaccountyouwant -o variable_substitution=true -o output_format=csv -o header=true -o timing=false -o friendly=false > "GRANTS_TO_ROLES.csv"

select
t.granted_on as created_on,
Expand Down
2 changes: 1 addition & 1 deletion Snowhouse/SnowhouseGrantsToUsers.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Grants to Users via Snowhouse
// snowsql -c snowhouse -f "SnowhouseGrantsToUsers.sql" -D DEPLOYMENT='deploymentoftheaccountyouwant' -D ACCOUNT_ID=accountidofaccountyouwant -o output_format=csv -o header=true -o timing=false -o friendly=false > "GRANTS_TO_USERS.csv"
// snowsql -c snowhouse -f "SnowhouseGrantsToUsers.sql" -D DEPLOYMENT='deploymentoftheaccountyouwant' -D ACCOUNT_ID=accountidofaccountyouwant -o variable_substitution=true -o output_format=csv -o header=true -o timing=false -o friendly=false > "GRANTS_TO_USERS.csv"

select
(user_role_grant_etl.dpo:"UserRoleGrantDPO:changelog".grantedOn::int/1000)::timestamp_ltz AS created_on
Expand Down

0 comments on commit d3e5106

Please sign in to comment.