VbzCart/docs/queries/qryCtg Sources active: Difference between revisions
Jump to navigation
Jump to search
imported>Woozle (moved from single-page listing) |
m (Woozle moved page VbzCart/VbzCart/queries/qryCtg Sources active to VbzCart/docs/queries/qryCtg Sources active without leaving a redirect: part 2) |
||
(One intermediate revision by one other user not shown) | |||
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 01:55, 25 February 2024
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 />