screen -xRR BI_Accounting

screen -xRR BI_Analytics

R


if (FALSE) 
{

  wh <- "BI_ETL_JOBS_STANDARD"
  updateViews <- TRUE
  updateViews <- FALSE

### ---------- VIEWS ------------ ##
### ---------- VIEWS ------------ ##
  setGitBranchToSystem(); .g()
  if (updateViews)
    source("~/git/orch/src/DeNormalizing/BI_tables/Create All Views.r")


### ---------- ACCOUNTING ------------ ##
### ---------- ACCOUNTING ------------ ##
### ---------- ACCOUNTING ------------ ##
  setPrompt(full=TRUE)
  {
    setGitBranchToSystem(); .g()
    setPrompt(full=TRUE)
    source("~/git/orch/src/DeNormalizing/BI_tables/Create Accounting on Snowflake.r")
  }; showSink()
  

### ---------- ANALYTICS ------------ ##
### ---------- ANALYTICS ------------ ##
### ---------- ANALYTICS ------------ ##
  setPrompt(full=TRUE)
  {
    setGitBranchToSystem(); .g()
    setPrompt(full=TRUE)
    source("~/git/orch/src/DeNormalizing/BI_tables/Create Analytics Track Level on Snowflake.r")
  }; showSink()



  ## qUpdatePerms() was for redshift
  ## source the following file for snowflake to update the permissions on the newly created tables
  catheader("Updating Permissions", endl=0)
  try({source("~/git/orch/src/DeNormalizing/snowflake_permissioning_update.r")})

}



