Difference between revisions of "VbzCart/queries/qryCtg Sources active"
Jump to navigation
Jump to search
(moved from single-page listing) |
(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 |
Latest revision as of 23:51, 3 May 2009
Details
- Requires: ctg_sources
- Used by:
- REDIRECT Template:l/vc/query
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>