VbzCart/docs/queries/qryCbx RstkReq

From Woozle Writes Code
< VbzCart‎ | docs‎ | queries
Revision as of 18:58, 22 December 2008 by imported>Woozle (New page: ==About== * '''Purpose''': for use in drop-down lists * '''Requires''': {{vbzcart/query|qryRstkReq_by_status}}, {{vbzcart/query|qryRstkReq_by_PurchOrd}} * '''History''': ** '''2008-12-22''...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

About

  • Purpose: for use in drop-down lists
  • Requires: Template:Vbzcart/query, Template:Vbzcart/query
  • History:
    • 2008-12-22 Adapted from the discarded query qryCbxRestock
  • Notes: MySQL gives a "query cancelled" error when running this SQL to create the view, but actually it creates it just fine.

SQL

<section begin=sql /><mysql>CREATE OR REPLACE VIEW qryCbx_RstkReq AS

 SELECT * FROM qryRstkReq_by_status WHERE Descr IS NOT NULL

UNION

 SELECT * FROM qryRstkReq_by_PurchOrd WHERE Descr IS NOT NULL;</mysql>

<section end=sql />