<?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%2FqryCtgCk_dup_keys</id>
	<title>VbzCart/queries/qryCtgCk dup keys - 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%2FqryCtgCk_dup_keys"/>
	<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=VbzCart/queries/qryCtgCk_dup_keys&amp;action=history"/>
	<updated>2026-06-26T02:29:59Z</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/qryCtgCk_dup_keys&amp;diff=11726&amp;oldid=prev</id>
		<title>Woozle: extracted from catalog building page</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=VbzCart/queries/qryCtgCk_dup_keys&amp;diff=11726&amp;oldid=prev"/>
		<updated>2009-05-03T22:30:53Z</updated>

		<summary type="html">&lt;p&gt;extracted from catalog building page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==About==&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Purpose&amp;#039;&amp;#039;&amp;#039;: Verification of ctg build&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Requires&amp;#039;&amp;#039;&amp;#039;: {{vbzcart|table|ctg_upd2}}, {{vbzcart|table|cat_items}}&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Used by&amp;#039;&amp;#039;&amp;#039;: [[VbzCart catalog building|catalog building]] - verification stage&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Returns&amp;#039;&amp;#039;&amp;#039;: any duplicate IDS_Items (ID_Title + CatSfx) found in currently active titles in {{vbzcart|table|cat_items}}. When this happens, it is probably due to old records whose CatSfx fields weren&amp;#039;t set (or weren&amp;#039;t set properly) being (re)activated by being found in stock&lt;br /&gt;
==SQL==&lt;br /&gt;
&amp;lt;mysql&amp;gt;CREATE OR REPLACE VIEW qryCtgCk_dup_keys AS&lt;br /&gt;
SELECT&lt;br /&gt;
  i.CatNum,&lt;br /&gt;
  i.isInPrint,&lt;br /&gt;
  u.*&lt;br /&gt;
FROM ctg_upd2 AS u LEFT JOIN cat_items AS i ON u.ID_Item=i.ID WHERE cntDups and u.isForSale;&amp;lt;/mysql&amp;gt;&lt;/div&gt;</summary>
		<author><name>Woozle</name></author>
	</entry>
</feed>