Difference between revisions of "VbzCart/queries/qryStk lines remaining forSale"
Jump to navigation
Jump to search
(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...) |
(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:
- REDIRECT Template:l/vc/query
- Used by: qryStkItms_for_sale
- Note: Eventually rename as "qryStkLines_for_sale"
- History:
- 2009-11-29 Updated to reflect name change of source query
SQL
<mysql>CREATE OR REPLACE VIEW qryStk_lines_remaining_forSale AS
SELECT * FROM qryStk_lines_remaining WHERE QtyForSale>0;</mysql>