Ask a Question related to Coldfusion Database Access, Design and Development.
-
the_last #1
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
-
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... -
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... -
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... -
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... -
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... -
the_last #2
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
-
Damon Cooper #3
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
-
Warpuser #4
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
-
sdupre #5
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



Reply With Quote

