<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://htyp.org/mw/index.php?action=history&amp;feed=atom&amp;title=VbzCart%2Fqueries%2FqryCtg_build_sub</id>
	<title>VbzCart/queries/qryCtg build sub - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://htyp.org/mw/index.php?action=history&amp;feed=atom&amp;title=VbzCart%2Fqueries%2FqryCtg_build_sub"/>
	<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=VbzCart/queries/qryCtg_build_sub&amp;action=history"/>
	<updated>2026-07-06T13:43:40Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://htyp.org/mw/index.php?title=VbzCart/queries/qryCtg_build_sub&amp;diff=14417&amp;oldid=prev</id>
		<title>Woozle: appears to be unused</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=VbzCart/queries/qryCtg_build_sub&amp;diff=14417&amp;oldid=prev"/>
		<updated>2010-11-10T01:57:44Z</updated>

		<summary type="html">&lt;p&gt;appears to be unused&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 01:57, 10 November 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Details==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Details==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &#039;&#039;&#039;Status&#039;&#039;&#039;: appears to be unused - not found in database&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Requires&amp;#039;&amp;#039;&amp;#039;: [[../../tables/ctg_updates|ctg_updates]], [[../../tables/ctg_groups|ctg_groups]], [[../qry_ctg_titles_active|qry_ctg_titles_active]], [[../../tables/ctg_items|ctg_items]], [[../../tables/ctg_sources|ctg_sources]], [[../../tables/cat_ioptns|cat_ioptns]], [[../../tables/cat_ittyps|cat_ittyps]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Requires&amp;#039;&amp;#039;&amp;#039;: [[../../tables/ctg_updates|ctg_updates]], [[../../tables/ctg_groups|ctg_groups]], [[../qry_ctg_titles_active|qry_ctg_titles_active]], [[../../tables/ctg_items|ctg_items]], [[../../tables/ctg_sources|ctg_sources]], [[../../tables/cat_ioptns|cat_ioptns]], [[../../tables/cat_ittyps|cat_ittyps]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &#039;&#039;&#039;Used by&#039;&#039;&#039;: [[../qryCtg build|qryCtg build]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &#039;&#039;&#039;Used by&#039;&#039;&#039;: [[../qryCtg build|qryCtg build]] &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(also unused)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &#039;&#039;&#039;History&#039;&#039;&#039;:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;** &#039;&#039;&#039;2010-11-09&#039;&#039;&#039; marked as unused&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==SQL==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==SQL==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;section begin=sql /&amp;gt;&amp;lt;mysql&amp;gt;CREATE OR REPLACE VIEW qryCtg_build_sub AS&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;section begin=sql /&amp;gt;&amp;lt;mysql&amp;gt;CREATE OR REPLACE VIEW qryCtg_build_sub AS&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Woozle</name></author>
	</entry>
	<entry>
		<id>https://htyp.org/mw/index.php?title=VbzCart/queries/qryCtg_build_sub&amp;diff=10900&amp;oldid=prev</id>
		<title>Woozle: moved from single-page listing</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=VbzCart/queries/qryCtg_build_sub&amp;diff=10900&amp;oldid=prev"/>
		<updated>2008-11-30T19:55:55Z</updated>

		<summary type="html">&lt;p&gt;moved from single-page listing&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Details==&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Requires&amp;#039;&amp;#039;&amp;#039;: [[../../tables/ctg_updates|ctg_updates]], [[../../tables/ctg_groups|ctg_groups]], [[../qry_ctg_titles_active|qry_ctg_titles_active]], [[../../tables/ctg_items|ctg_items]], [[../../tables/ctg_sources|ctg_sources]], [[../../tables/cat_ioptns|cat_ioptns]], [[../../tables/cat_ittyps|cat_ittyps]]&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Used by&amp;#039;&amp;#039;&amp;#039;: [[../qryCtg build|qryCtg build]]&lt;br /&gt;
==SQL==&lt;br /&gt;
&amp;lt;section begin=sql /&amp;gt;&amp;lt;mysql&amp;gt;CREATE OR REPLACE VIEW qryCtg_build_sub AS&lt;br /&gt;
  SELECT&lt;br /&gt;
    s.ID_Item,&lt;br /&gt;
    s.CatNum,&lt;br /&gt;
    (&lt;br /&gt;
      s.isActive &lt;br /&gt;
      AND tg.isActive&lt;br /&gt;
      AND tgi.isActive&lt;br /&gt;
      AND (c.ID_Supercede Is Null)&lt;br /&gt;
       ) AS isForSale,&lt;br /&gt;
    c.isCloseOut,&lt;br /&gt;
    s.isActive,&lt;br /&gt;
    s.ID_Title,&lt;br /&gt;
    tgi.ID_ItTyp,&lt;br /&gt;
    tgi.ID_ItOpt,&lt;br /&gt;
    tgi.ID_ShipCost,&lt;br /&gt;
    tgi.PriceBuy,&lt;br /&gt;
    tgi.PriceSell,&lt;br /&gt;
    tgi.PriceList,&lt;br /&gt;
    IFNULL(tgi.Descr,CONCAT_WS(&amp;#039; / &amp;#039;,tgt.GroupDescr,o.Descr)) AS ItOpt_Descr_part,&lt;br /&gt;
    it.NameSng,&lt;br /&gt;
    s.ID_CTG_Title,&lt;br /&gt;
    s.ID_CTG_Item,&lt;br /&gt;
    tgi.Descr AS GrpItmDescr,&lt;br /&gt;
    tgt.GroupDescr AS TitleGroupDescr,&lt;br /&gt;
    o.Descr AS OptionDescr,&lt;br /&gt;
    s.CatSfx,&lt;br /&gt;
    CONCAT(tg.Sort,it.Sort,o.Sort) AS ItOpt_Sort,&lt;br /&gt;
    tgt.GroupCode AS GrpCode,&lt;br /&gt;
    tgt.GroupDescr AS GrpDescr,&lt;br /&gt;
    tgt.GroupSort AS GrpSort&lt;br /&gt;
  FROM&lt;br /&gt;
  ( ( ( ( (ctg_updates AS s LEFT JOIN ctg_groups AS tg ON s.ID_CTG_Group = tg.ID&lt;br /&gt;
           ) LEFT JOIN qry_ctg_titles_active AS tgt ON s.ID_CTG_Title = tgt.ID&lt;br /&gt;
         ) LEFT JOIN ctg_items AS tgi ON s.ID_CTG_Item = tgi.ID&lt;br /&gt;
       ) LEFT JOIN ctg_sources AS c ON tgt.ID_Source = c.ID&lt;br /&gt;
     ) LEFT JOIN cat_ioptns AS o ON tgi.ID_ItOpt = o.ID&lt;br /&gt;
   ) LEFT JOIN cat_ittyps AS it ON tgi.ID_ItTyp = it.ID;&amp;lt;/mysql&amp;gt;&lt;br /&gt;
&amp;lt;section end=sql /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Woozle</name></author>
	</entry>
</feed>