CFMX7 and query of queries

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

  1. #1

    Default CFMX7 and query of queries

    Migrating from CFMX61 to CFMX7 I'm not able to execute query of queries. For
    exemple the following code: <cfquery name='q1' datasource='foo'
    username='fooUser' password='1234'> select detail from users limit 10
    </cfquery> <cfquery name='q2' dbtype='query'> select detail from q1 limit 3
    </cfquery> gives an 'error executing database query' in line 4. I'm using xp
    home, cfmx7 with builtin web server and postgresql 8.0.1 (jdbc driver:
    postgresql-8.0.309.jdbc3.jar)

    the_last Guest

  2. Similar Questions and Discussions

    1. Need Help with Query of Queries
      I have the query "almost" there but I'm not sure exactly how to accomplish this. I need all recrods meeting the criteria from the AppliedLicense...
    2. query of queries with avg()
      cfmx 6.1 when i use avg() in a query of queries it rounds the results (actually rounds results down)...so i'm wondering if i am doing this...
    3. 2 queries to 1 query
      Hello, Can somebody help me to combine these two queries into one query. <cfquery datasource="#DATAS#" name="getMainNav"> SELECT * FROM...
    4. Query of Queries in 7.0
      I am running MX 6.1 and was wondering of the QofQ problem still exists (in the new version, 7.0) where CF tries to guess at the column datatype...
    5. Query of Queries on query New type query
      In CF5 we have a page that creates a query, using queryNew and querySetCell and the like, we then used dbtype="query" and gave it's name so we could...
  3. #2

    Default CFMX7 and query of queries

    Migrating from CFMX61 to CFMX7 I'm not able to execute query of queries. For
    exemple the following code: <cfquery name='q1' datasource='foo'
    username='fooUser' password='1234'> select detail from users limit 10
    </cfquery> <cfquery name='q2' dbtype='query'> select detail from q1 limit 3
    </cfquery> gives an 'error executing database query' in line 4. I'm using xp
    home, cfmx7 with builtin web server and postgresql 8.0.1 (jdbc driver:
    postgresql-8.0.309.jdbc3.jar)

    the_last Guest

  4. #3

    Default Re: CFMX7 and query of queries

    We'll check it out now. Thanks!


    "the_last" <webforumsuser@macromedia.com> wrote in message
    news:d1cg1s$91q$1@forums.macromedia.com...
    > Migrating from CFMX61 to CFMX7 I'm not able to execute query of queries.
    > For
    > exemple the following code: <cfquery name='q1' datasource='foo'
    > username='fooUser' password='1234'> select detail from users limit 10
    > </cfquery> <cfquery name='q2' dbtype='query'> select detail from q1 limit
    > 3
    > </cfquery> gives an 'error executing database query' in line 4. I'm using
    > xp
    > home, cfmx7 with builtin web server and postgresql 8.0.1 (jdbc driver:
    > postgresql-8.0.309.jdbc3.jar)
    >

    Damon Cooper Guest

  5. #4

    Default Re: CFMX7 and query of queries

    Any solution to the above problem? I'm having the exact same problem (I'm also using same version Posgres, JDBC, Windows)....Thanks.
    Warpuser Guest

  6. #5

    Default Re: CFMX7 and query of queries

    This is bug 60082. Problems with PostGreSQL 8.x with the latest
    postgresql-8.0-311.jdbc3.jar driver. Last driver that worked was:
    pg74.215.jdbc3 Here's the stack I get: java.sql.SQLException at
    coldfusion.sql.JdbcImpl.getConnection(JdbcImpl.jav a:76) at
    coldfusion.sql.JdbcImpl.getConnection(JdbcImpl.jav a:59) at
    coldfusion.sql.SqlImpl.execute(SqlImpl.java:214) at
    coldfusion.tagext.sql.QueryTag.doEndTag(QueryTag.j ava:498) at
    cftestdata2ecfm1449602384.runPage(C:\CFusionMX7\ww wroot\Patin\testdata.cfm:11)
    at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java :152) at
    coldfusion.tagext.lang.IncludeTag.doStartTag(Inclu deTag.java:343) at
    coldfusion.filter.CfincludeFilter.invoke(Cfinclude Filter.java:65) at
    coldfusion.filter.ApplicationFilter.invoke(Applica tionFilter.java:210) at
    coldfusion.filter.PathFilter.invoke(PathFilter.jav a:86) at
    coldfusion.filter.ExceptionFilter.invoke(Exception Filter.java:50) at
    coldfusion.filter.ClientScopePersistenceFilter.inv oke(ClientScopePersistenceFilt
    er.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilt er.java:38)
    at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilt er.java:38) at
    coldfusion.filter.DatasourceFilter.invoke(Datasour ceFilter.java:22) at
    coldfusion.CfmServlet.service(CfmServlet.java:105) at
    coldfusion.bootstrap.BootstrapServlet.service(Boot strapServlet.java:78) at
    jrun.servlet.ServletInvoker.invoke(ServletInvoker. java:91) at
    jrun.servlet.JRunInvokerChain.invokeNext(JRunInvok erChain.java:42) at
    jrun.servlet.JRunRequestDispatcher.invoke(JRunRequ estDispatcher.java:257) at
    jrun.servlet.ServletEngineService.dispatch(Servlet EngineService.java:527) at
    jrun.servlet.http.WebService.invokeRunnable(WebSer vice.java:172) at
    jrunx.scheduler.ThreadPool$DownstreamMetrics.invok eRunnable(ThreadPool.java:349)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRu nnable(ThreadPool.java:457)
    at
    jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeR unnable(ThreadPool.java:295)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java :66) Stephen Dupre
    Macromedia QA

    sdupre 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