VbzCart/docs/queries/qryRstks inactive: Difference between revisions
Jump to navigation
Jump to search
imported>Woozle (Created page with '==About== * '''Purpose''': Returns all restock requests which are no longer active, for historical uses; the exact opposite of {{vbzcart/query|qryRstks_active}}. * '''Requires'''…') |
m (Woozle moved page VbzCart/VbzCart/queries/qryRstks inactive to VbzCart/docs/queries/qryRstks inactive without leaving a redirect: part 3/5) |
(No difference)
|
Latest revision as of 01:56, 25 February 2024
About
- Purpose: Returns all restock requests which are no longer active, for historical uses; the exact opposite of Template:Vbzcart/query.
- Requires: Template:Vbzcart/table
- Used by: admin listing of closed restock requests
- History:
- 2010-01-03 Created for admin listing of closed restock requests
SQL
<section begin=sql /><mysql>CREATE OR REPLACE VIEW qryRstks_inactive AS
SELECT rq.* FROM rstk_req AS rq WHERE (rq.WhenClosed IS NOT NULL) OR (rq.WhenKilled IS NOT NULL) OR (rq.WhenOrphaned IS NOT NULL);</mysql>
<section end=sql />