Query Of Queries syntax error

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default Query Of Queries syntax error

    Hello I am running a Query of Queries and I'm getting the following error:

    Query Of Queries syntax error.
    Encountered "Section" at line 0, column 0. Incorrect Select List

    Can anyone help me understand what this means?:confused;

    Spaniard1981 Guest

  2. Similar Questions and Discussions

    1. Query of Queries syntax issue
      I have query 1 which has a list of names and query 2 which has ratings for the names. Every rating from query 2 has a name in query 1, but not...
    2. Query Of Queries runtime error in CFMX 7
      Hi, I am migrating from CF 5 to MX 7. All the queries are working fine in the old version. However when I try the same code in MX7 I get errors....
    3. Query of queries Error
      I am putting query results into a new query to sort them, rather than using arrays. I can insert into a new query using queryNew just fine and even...
    4. Query of Queries runtime error
      this also happened to me, on a different account. For me it happened on ORDER BY #url.o# #url.s# I have a <cfparam name='url.o'...
    5. Syntax error in Query Expression,
      Hi everyone I have a page on my site in which i wish to display links to brochures, and i have stored an index of these links in my database. ...
  3. #2

    Default Re: Query Of Queries syntax error

    What database? Also, please provide some code.
    CF_Oracle Guest

  4. #3

    Default Re: Query Of Queries syntax error

    "Section" is a reserved word in a Q of Q, so you need to escape it (i.e.
    enclose the name in square brackets)

    <cfquery name="qOfQTest" dbtype="query">
    SELECT MAX([Section]) AS MaxSection
    FROM yourQuery
    </cfquery>

    See [url]http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/express4.htm[/url] for
    more information.

    As CF_Oracle mentioned, providing code makes it easier for people to assist
    you :)

    mxstu Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139