VbzCart/docs/queries/qryCtg Sources active: Difference between revisions
Jump to navigation
Jump to search
imported>Woozle (moved from single-page listing) |
imported>Woozle (used by qryCtg_src_sub) |
||
Line 1: | Line 1: | ||
==Details== | ==Details== | ||
* '''Requires''': [[../../tables/ctg_sources|ctg_sources]] | * '''Requires''': [[../../tables/ctg_sources|ctg_sources]] | ||
* '''Used by''': | * '''Used by''': {{vbzcart/query|qryCtg_src_sub}} | ||
==SQL== | ==SQL== | ||
<section begin=sql /><mysql>CREATE OR REPLACE VIEW qryCtg_Sources_active AS | <section begin=sql /><mysql>CREATE OR REPLACE VIEW qryCtg_Sources_active AS |
Revision as of 23:51, 3 May 2009
Details
- Requires: ctg_sources
- Used by: Template:Vbzcart/query
SQL
<section begin=sql /><mysql>CREATE OR REPLACE VIEW qryCtg_Sources_active AS
SELECT * FROM ctg_sources AS sc WHERE (sc.DateAvail <= NOW()) AND (sc.ID_Supercede IS NULL);</mysql>
<section end=sql />