VbzCart/docs/queries/qryCtg Items forUpdJoin: Difference between revisions
Jump to navigation
Jump to search
imported>Woozle (extracted from catalog building page) |
m (Woozle moved page VbzCart/VbzCart/queries/qryCtg Items forUpdJoin to VbzCart/docs/queries/qryCtg Items forUpdJoin without leaving a redirect: part 2) |
||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
* '''Used by''': [[VbzCart catalog building|catalog building process]] (details to be documented) | * '''Used by''': [[VbzCart catalog building|catalog building process]] (details to be documented) | ||
* '''Note''': QtyInStock has been deprecated; reference will need to be removed | * '''Note''': QtyInStock has been deprecated; reference will need to be removed | ||
* '''History''': | |||
** '''2008-03-15''' Building sequence completely rewritten, so presumably this query was created then | |||
==SQL== | ==SQL== | ||
<section begin=sql /><mysql>CREATE OR REPLACE VIEW qryCtg_Items_forUpdJoin AS | <section begin=sql /><mysql>CREATE OR REPLACE VIEW qryCtg_Items_forUpdJoin AS |
Latest revision as of 01:55, 25 February 2024
About
- Requires: Template:Vbzcart
- Used by: catalog building process (details to be documented)
- Note: QtyInStock has been deprecated; reference will need to be removed
- History:
- 2008-03-15 Building sequence completely rewritten, so presumably this query was created then
SQL
<section begin=sql /><mysql>CREATE OR REPLACE VIEW qryCtg_Items_forUpdJoin AS SELECT
ID AS ID_Item, CONCAT_WS('-',ID_Title,CatSfx) AS IDS_Item, FALSE AS isForSale, 0 AS QtyInStock, /* this will be calculated shortly */ Supp_CatNum, /* PRESERVE */ QtyMin_Stk /* PRESERVE */
FROM cat_items WHERE (NOT isDumped) AND (ID_Title IS NOT NULL);</mysql> <section end=sql />