Contains SQL and PL/SQL code for various Kellogg data definitions and best practices.
- v_current_calendar = self-updating dates, e.g. yesterday, today, curr_week_start
- v_frontline_ksm_staff = list of current and past KSM prospect managers
- v_entity_ksm_households = householding definition; earliest KSM grad is the primary household member, with lower entity ID number as the tiebreaker
- v_entity_ksm_degrees = KSM alumni definition, plus concatenated degrees and name tag strings
- v_ksm_prospect_pool = KSM prospect pool definition: alumni, donors, and prospects
- v_alloc_curr_use = KSM current use allocation definition
- v_ksm_giving_summary = householded giving totals, including KSM lifetime, yearly ngc, yearly cash, yearly af and klc totals and categories, etc.
- v_ksm_giving_cash = cash transactions view for reconciliation with Finance; they count most funds with cash_category = Expendable or Hub Campaign Cash
- v_ksm_giving_trans_hh = householded KSM giving transactions
- v_ksm_giving_campaign = householded KSM campaign giving totals, stewardship totals, and broken out by year
- v_ksm_giving_campaign_trans_hh = householded KSM campaign giving transactions
- v_ksm_pledge_balances = KSM amounts due by allocation on currently active pledges
- v_assignment_history = gift officer current and historical portfolio assignments
- v_assignment_summary = concatenated prospect manager, assist, and LGO assignments per prospect/entity
- v_ksm_proposal_history_fast = current and historical proposals
- v_contact_reports_fast = historical contact reports, including up to 2000 characters of the text
- v_nu_visits = historical visit contact reports, including up to 2000 characters of the text
- v_ksm_high_level_job_titles = standardizes C-suite and similar job titles for all KSM alumni