VbzCart/docs/queries/qryStk lines remaining forSale: Difference between revisions
Jump to navigation
Jump to search
imported>Woozle m (documentation update) |
m (Woozle moved page VbzCart/VbzCart/queries/qryStk lines remaining forSale to VbzCart/docs/queries/qryStk lines remaining forSale without leaving a redirect: part 3/5) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
==Details== | ==Details== | ||
* '''Obsolete''': use '''VCT_StkLines::SQL_forRemaining_forSale()''' instead | |||
* '''Requires''': {{vbzcart/query|qryStk_lines_remaining}} | * '''Requires''': {{vbzcart/query|qryStk_lines_remaining}} | ||
* '''Used by''': {{vbzcart/query|qryStkItms_for_sale}} | * '''Used by''': {{vbzcart/query|qryStkItms_for_sale}} | ||
Line 6: | Line 7: | ||
** '''2009-11-29''' Updated to reflect name change of source query | ** '''2009-11-29''' Updated to reflect name change of source query | ||
==SQL== | ==SQL== | ||
<mysql>CREATE OR REPLACE VIEW qryStk_lines_remaining_forSale AS | |||
SELECT * | SELECT * | ||
FROM qryStk_lines_remaining | FROM qryStk_lines_remaining | ||
WHERE QtyForSale>0;</mysql> | WHERE QtyForSale>0;</mysql> | ||
Latest revision as of 01:56, 25 February 2024
Details
- Obsolete: use VCT_StkLines::SQL_forRemaining_forSale() instead
- 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
<mysql>CREATE OR REPLACE VIEW qryStk_lines_remaining_forSale AS
SELECT * FROM qryStk_lines_remaining WHERE QtyForSale>0;</mysql>