﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Teradata Forums / Teradata  / Teradata Advanced Analytics User Group  / Generate errors for intersection of queries / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>Teradata Forums</description><link>http://www.teradata.com/teradataforum/</link><webMaster>info@teradata.com</webMaster><lastBuildDate>Sat, 21 Nov 2009 16:24:24 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Generate errors for intersection of queries</title><link>http://www.teradata.com/teradataforum/Topic14938-22-1.aspx</link><description>Just switch INTERSECT set operator to  MINUSselect A,b from ABC MINUSselect B,d from XYZ;.If ActivityCount &amp;gt; 0 Then .Quit 99</description><pubDate>Sun, 28 Jun 2009 06:12:40 GMT</pubDate><dc:creator>jimm</dc:creator></item><item><title>RE: Generate errors for intersection of queries</title><link>http://www.teradata.com/teradataforum/Topic14938-22-1.aspx</link><description>Hello,I want to display all records in ABC which do not intersect the b,d in XYZ.What logic do I use ?very simple with one field, try thisselect A,b from ABC where b not in ( select d from XYZ)bye</description><pubDate>Sat, 27 Jun 2009 22:12:36 GMT</pubDate><dc:creator>prodanlu</dc:creator></item><item><title>Generate errors for intersection of queries</title><link>http://www.teradata.com/teradataforum/Topic14938-22-1.aspx</link><description>How do i generate a error ,when a set of records ina query do not intersect a set of records in another query.For eg,if I have a query ,select A,b from ABC INTERSECT select B,d from XYZI want to display all records in ABC which do not intersect the b,d in XYZ. What logic do I use ?Thank you,az_maverick  </description><pubDate>Mon, 30 Mar 2009 19:29:20 GMT</pubDate><dc:creator>az_maverick</dc:creator></item></channel></rss>