VbzCart/queries/qryRstks inactive

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< VbzCart‎ | queries
Revision as of 15:23, 3 January 2010 by Woozle (talk | contribs) (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'''…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

About

  • Purpose: Returns all restock requests which are no longer active, for historical uses; the exact opposite of
  1. REDIRECT Template:l/vc/query.
  • Requires:
  1. REDIRECT Template:l/vc/table
  • Used by: admin listing of closed restock requests
  • History:
    • 2010-01-03 Created for admin listing of closed restock requests

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>