Ask a Question related to Coldfusion Flash Integration, Design and Development.
-
sebFrance #1
CF.query problems with CF8
Hello, in migration to CF8 (from CF7) when we use :
CF.query("xx","DELETE FROM TEST WHERE TR=1"); for example
CF failed with
java.lang.ClassCastException: coldfusion.sql.CFNoResultSetTable cannot be cast
to coldfusion.sql.QueryTable
This query run good under CF7 but failed under CF8
When the query is a "SELECT ..." no problems under CF8
Seb
sebFrance Guest
-
query db problems
Got this error and im not really sure what to do next link <a target=_blank class=ftalternatingbarlinklarge... -
Problems with Recordset (Query) in Dreamweaver BindingsPanel
Coldfusion Gurus- I keep getting this error when I try to make a connection to my database using the Dreamweaver Bindings Panel: "There are no... -
problems with evaluate-function and " ' " in query
hello. strange problem. let's say i have the following variable: cfset content = "let's rock" if i make an insert-query into a ms sql server... -
Dymanic Query and CFIF Problems
Problem: I have an application where I have one access table with the following fields: autonum, cca_index, cca_category, wt_index, wt_category. ... -
MySQL query problems
Hi, Not sure if the problem here is PHP or MySQL, but here we go. I am trying to do two queries on a database - one after the other, but the... -
sebFrance #2
Re: CF.query problems with CF8
CF.query does not seem to tell the difference between SELECT query which
returns a ResultSet as the executeQuery while INSERT, UPDATE or DELETE returns
an int.
The problem must be in the decision to use either or executeUpdate in
executeQuery method CF.query (in CF8)
Thank you for all.
sebFrance Guest
-
sebFrance #3
Re: CF.query problems with CF8
Hello,
I must clarify that the code using the CF.query is a .asr in SSAS
Thanks
sebFrance Guest
-
sebFrance #4
Re: CF.query problems with CF8
Hello,
Until the problem is corrected, I applied the following solution, which is not
very elegant but quite effective:
As CF.query tries to return a Result Set I simply turned the query above
CF.query ( "xx", "DELETE FROM TEST WHERE TR = 1");
In
CF.query ( "xx", "SELECT 1 AS TOTAL DELETE FROM TEST WHERE TR = 1 ");
This formula returning a resultset, CF.query in this case content.
Séb
sebFrance Guest



Reply With Quote

