4 Replies Latest reply: Jul 24, 2006 8:17 PM by Dan Bracuk RSS

    Unexpected Results Query of Queries

    Dan Bracuk Community Member
      assume you have a query named q1 with more than 1 record. What would expect to q2 to look like?

      <cfquery name="q2" dbtype="query">
      select count(*) as abc from q1
      where 1 = 2
      </cfquery>

      If you run it, were your expections met? Mine certainly were not.