VbzCart/docs/queries/qryCache Flow Procs: Difference between revisions

From Woozle Writes Code
< VbzCart‎ | docs‎ | queries
Jump to navigation Jump to search
imported>Woozle
(history and sql updates)
imported>Woozle
m (moved VbzCart/queries/qryCache Flow Queries to VbzCart/queries/qryCache Flow Procs: going back to "procs" instead of "queries")
(No difference)

Revision as of 22:23, 13 November 2010

About

  • Purpose: compiles caching data for quicker processing
  • Requires: Template:Vbzcart, Template:Vbzcart
  • Used by: cache manager
  • History:
    • 2010-11-09 Renamed tables, so had to fix this query; renamed from v_data_flow to qryCache_Flow_Queries

SQL

<section begin=sql /><mysql>CREATE OR REPLACE VIEW qryCache_Flow_Queries AS

 SELECT
   df.ID_Srce,
   df.ID_Dest,
   df.ID_Proc,
   dfx.doesClear
 FROM cache_flow AS df LEFT JOIN cache_queries AS dfx ON df.ID_Proc=dfx.ID
 ORDER BY dfx.doesClear;</mysql>

<section end=sql />