VbzCart/queries/qryCtg Items forUpdJoin

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< VbzCart‎ | queries
Revision as of 21:54, 3 May 2009 by Woozle (talk | contribs) (extracted from catalog building page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

About

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>