VbzCart/docs/queries/qryStk lines remaining forSale: Difference between revisions
Jump to navigation
Jump to search
imported>Woozle (New page: ==Details== * '''Requires''': {{vbzcart/query|v_stk_lines_remaining}} * '''Used by''': {{vbzcart/query|qryStkItms_for_sale}} * '''Note''': Eventually rename as "qryStkLines_for_sale" ==SQL...) |
imported>Woozle (updated because of name-change in underlying query) |
||
Line 3: | Line 3: | ||
* '''Used by''': {{vbzcart/query|qryStkItms_for_sale}} | * '''Used by''': {{vbzcart/query|qryStkItms_for_sale}} | ||
* '''Note''': Eventually rename as "qryStkLines_for_sale" | * '''Note''': Eventually rename as "qryStkLines_for_sale" | ||
* '''History''': | |||
** '''2009-11-29''' Updated to reflect name change of source query | |||
==SQL== | ==SQL== | ||
<section begin=sql /><mysql>CREATE OR REPLACE VIEW qryStk_lines_remaining_forSale AS | <section begin=sql /><mysql>CREATE OR REPLACE VIEW qryStk_lines_remaining_forSale AS | ||
SELECT * | SELECT * | ||
FROM | FROM qryStk_lines_remaining | ||
WHERE QtyForSale>0;</mysql> | WHERE QtyForSale>0;</mysql> | ||
<section end=sql /> | <section end=sql /> |
Revision as of 23:02, 29 November 2009
Details
- Requires: Template:Vbzcart/query
- Used by: Template:Vbzcart/query
- Note: Eventually rename as "qryStkLines_for_sale"
- History:
- 2009-11-29 Updated to reflect name change of source query
SQL
<section begin=sql /><mysql>CREATE OR REPLACE VIEW qryStk_lines_remaining_forSale AS
SELECT * FROM qryStk_lines_remaining WHERE QtyForSale>0;</mysql>
<section end=sql />