Query of Queries Error

2012-09-26 Thread Chad Baloga
I am try to run a query of queries to order a query I create on the fly. On DEV I do not get an error. On PROD I am getting: The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code. Null Pointers are another

Re: Query of Queries Error

2012-09-26 Thread lakshmi Suresh
try to dump query docQry chk if it is returning any row. On Wed, Sep 26, 2012 at 6:50 PM, Chad Baloga cbal...@gmail.com wrote: I am try to run a query of queries to order a query I create on the fly. On DEV I do not get an error. On PROD I am getting: The system has attempted to use

Re: Query of Queries Error

2012-09-26 Thread Chad Baloga
Yes it is, I have been playing with it and dumping results to see what data may be causing the error try to dump query docQry chk if it is returning any row. ~| Order the Adobe Coldfusion Anthology now!

Re: Query of Queries Error

2012-09-26 Thread lakshmi Suresh
in select statement try to select one column at a time to chk which column's data is causing the error. On Wed, Sep 26, 2012 at 7:12 PM, Chad Baloga cbal...@gmail.com wrote: Yes it is, I have been playing with it and dumping results to see what data may be causing the error try to dump

Re: Query of Queries Error

2012-09-26 Thread Chad Baloga
I figured it out. The last column had some NULL values which I guess it didn't like even though other columns have NULLs and it's fine (Sounds like a bug). I defaulted the NULL ones to N/A so it works now. Also had to declare all my columns as VARCHARs in my QueryNew set statement. try to

Query of Queries Empty String Issue

2011-08-02 Thread Donnie Carvajal
I have the following query of queries query SELECT code, title FROM Nav WHERE nav = 'Calendar' AND order = '' It has recently stopped returning results when upgrading to CF9. If I change the where clause to the following it returns the record WHERE nav = 'Calendar' AND order IS NULL Any

Re: Query of Queries Empty String Issue

2011-08-02 Thread Claude Schnéegans
Any ideas why the original where clause stopped working? I thought CF treated all NULL value fields in a record set as an empty string. probably the CF9 code is more consistent with SQL. Right, if a field is returned NULL in a query, CF treats it as an empty string, but apparently, the NULL

RE: Query of Queries Empty String Issue

2011-08-02 Thread Bobby Hartsfield
Message- From: Donnie Carvajal [mailto:donnie.carva...@transformyx.com] Sent: Tuesday, August 02, 2011 11:32 AM To: cf-talk Subject: Query of Queries Empty String Issue I have the following query of queries query SELECT code, title FROM Nav WHERE nav = 'Calendar' AND order = '' It has

Re: Query of Queries and GROUP - use CFLOOP?

2011-08-02 Thread Chris Sizemore
I am using a cfloop condition approach to perform a standard branched tree operation. I have four tables and my query is pretty straight forward. The output is not working though. It is returning the correct amount of results and is organizing them properly but the values displayed are

Re: Query of Queries and GROUP - use CFLOOP?

2011-08-02 Thread Chris Sizemore
I am using a cfloop condition approach to perform a standard branched tree operation. I have four tables and my query is pretty straight forward. The output is not working though. It is returning the correct amount of results and is organizing them properly but the values displayed are

Re: Query of Queries and GROUP - use CFLOOP?

2011-08-02 Thread Azadi Saryev
use a cfoutput with group attribute instead? cfoutput query=GetStates group=StateID #GetStates.StateName# #GetStates.StateID# - cfoutput group=RegionID #GetStates.StateRegion# #GetStates.RegionID#BR / cfoutput group=CountryID cfoutput A

Re: struct lookup vs. query of queries

2010-07-14 Thread Gerald Guido
either do a query of queries on each iteration or I can turn the query into a structure and do a structure lookup (structkeyexists, etc) on each iteration. I'm assuming that the struct lookup will be faster/more efficient even after having to turn the query into a structure. Anyone have

Re: struct lookup vs. query of queries

2010-07-14 Thread Cameron Childress
On Tue, Jul 13, 2010 at 12:19 PM, Michael Dinowitz mdino...@houseoffusion.com wrote: I've got a loop which will need to look up a piece of data on each iteration. The data is standardized so there is really just one call to the database (outside the loop). I can either do a query of queries

RE: struct lookup vs. query of queries

2010-07-14 Thread DURETTE, STEVEN J (ATTASIAIT)
...@gmail.com] Sent: Wednesday, July 14, 2010 10:27 AM To: cf-talk Subject: Re: struct lookup vs. query of queries On Tue, Jul 13, 2010 at 12:19 PM, Michael Dinowitz mdino...@houseoffusion.com wrote: I've got a loop which will need to look up a piece of data on each iteration. The data

Re: struct lookup vs. query of queries

2010-07-14 Thread Michael Grant
Subject: Re: struct lookup vs. query of queries On Tue, Jul 13, 2010 at 12:19 PM, Michael Dinowitz mdino...@houseoffusion.com wrote: I've got a loop which will need to look up a piece of data on each iteration. The data is standardized so there is really just one call to the database

Re: struct lookup vs. query of queries

2010-07-14 Thread Cameron Childress
On Wed, Jul 14, 2010 at 10:54 AM, DURETTE, STEVEN J (ATTASIAIT) sd1...@att.com wrote: Correct me if I'm wrong (please) but isn't a query already a Struct of Arrays? It is, but you can really only use that to select data based on a column name and row number. Typically, if I were to convert a

struct lookup vs. query of queries

2010-07-13 Thread Michael Dinowitz
I've got a loop which will need to look up a piece of data on each iteration. The data is standardized so there is really just one call to the database (outside the loop). I can either do a query of queries on each iteration or I can turn the query into a structure and do a structure lookup

Re: struct lookup vs. query of queries

2010-07-13 Thread Mike Chabot
at 12:19 PM, Michael Dinowitz mdino...@houseoffusion.com wrote: I've got a loop which will need to look up a piece of data on each iteration. The data is standardized so there is really just one call to the database (outside the loop). I can either do a query of queries on each iteration or I can

Re: struct lookup vs. query of queries

2010-07-13 Thread Michael Grant
which will need to look up a piece of data on each iteration. The data is standardized so there is really just one call to the database (outside the loop). I can either do a query of queries on each iteration or I can turn the query into a structure and do a structure lookup (structkeyexists, etc

Re: struct lookup vs. query of queries

2010-07-13 Thread Dan G. Switzer, II
...@houseoffusion.com wrote: I've got a loop which will need to look up a piece of data on each iteration. The data is standardized so there is really just one call to the database (outside the loop). I can either do a query of queries on each iteration or I can turn the query into a structure

Query of queries question

2010-06-09 Thread fun and learning
HI All - I have a query which returns the result set like below. The column names are like 1990, 1991, 1992 and there are certain amount for each year 1990 1991 1992 1000 5000 6000 2000 2000 3000 I have a query of query which finds the sum of the amounts for year 1990, and I use the query

Re: Query of queries question

2010-06-09 Thread LRS Scout
Should be double quotes I think Select SUM(1990) Some DBs use brackets too I think sum([1990]) Not sure how it would work undr the hood with query of query, can't you pull this from the db directly? On Wed, 2010-06-09 at 11:27 -0400, fun and learning wrote: HI All - I have a query which

Re: Query of queries question

2010-06-09 Thread Michael Grant
SUM([1990]) Just use square brackets around column name. On Wed, Jun 9, 2010 at 11:27 AM, fun and learning funandlrnn...@gmail.comwrote: HI All - I have a query which returns the result set like below. The column names are like 1990, 1991, 1992 and there are certain amount for each year

Re: Query of queries question

2010-06-09 Thread Jim Eisenhauer
Your first issue is that that is not a good db practice naming columns as numbers. If you put a prefix of y in front of the column name in your table (or whatever you chose, i.e y1990, y1991, y1992) it wouldn't have this issue, it would force your SQL to actual look for a table column rather

Re: Query of queries question

2010-06-09 Thread fun and learning
and learning funandlrnn...@gmail.comwrote: I get the following error when I use quotes Query Of Queries syntax error. Encountered SUM. Lexical error at line 0, column 0. Encountered: \ (34), after : and the following error when I use brackets Query Of Queries syntax error. Encountered SUM

Re: Query of queries question

2010-06-09 Thread Michael Grant
earlier. Jim Eisenhauer On Wed, Jun 9, 2010 at 8:27 AM, fun and learning funandlrnn...@gmail.com wrote: I get the following error when I use quotes Query Of Queries syntax error. Encountered SUM. Lexical error at line 0, column 0. Encountered: \ (34), after : and the following error

Re: Query of queries question

2010-06-09 Thread Maureen
If you can't rename the columns as someone else suggested, you can change your select to select 1990 as y1990, 1991 as y1991, etc.. then in your query of querys you do select sum(y1990) as sum1990 On Wed, Jun 9, 2010 at 8:27 AM, fun and learning funandlrnn...@gmail.com wrote: HI All - I

Re: Query of queries question

2010-06-09 Thread fun and learning
Ah, right QoQ can be bitchy. Can't you alias the column names in the initial query? SELECT my1990 = [1990], my1991 = [1991] or SELECT [1990] as my1990 etc etc That way can reference them without any issues. P.S. 1990 and the like are absolutely horrible column names. On Wed, Jun 9, 2010 at

Re: Query of queries question

2010-06-09 Thread Dave Watts
I have a query which returns the result set like below. The column names are like 1990, 1991, 1992 and there are certain amount for each year 1990 1991 1992 1000 5000 6000 2000 2000 3000 This doesn't address your question directly, but again this is a very poor database design. I

cfmodule and query of queries

2010-02-09 Thread Thane Sherrington
Hi all, This is probably a stupid question, but my simple mind can't figure it out. I'm trying to do the following: 1)Have a cfmodule that does a large query. 2)Have a series of cfmodules that do a query of query on the large query 3)Have a script that calls the cfmodules But I can't

RE: cfmodule and query of queries

2010-02-09 Thread LRS Scout
: cfmodule and query of queries Hi all, This is probably a stupid question, but my simple mind can't figure it out. I'm trying to do the following: 1)Have a cfmodule that does a large query. 2)Have a series of cfmodules that do a query of query on the large query 3)Have a script that calls

Re: cfmodule and query of queries

2010-02-09 Thread Eric Cobb
You should really be doing this in a CFC. They're built for stuff like this. Thanks, Eric Cobb http://www.cfgears.com ColdFusion - the most profitable dead language I've ever worked with. Thane Sherrington wrote: Hi all, This is probably a stupid question, but my simple mind can't

Re: cfmodule and query of queries

2010-02-09 Thread Claude Schnéegans
But I can't figure out how to pass the query from one module to another. You can also set your query in the request scope, ie : request.MyQuery The request scope is visible in any module and sub modules. ~| Want to reach the

Passing a query object to a CFC and then using that for a query of queries?

2009-07-20 Thread Pete Ruckelshaus
I'm stuck. Actually, I'm probably just being stupid. I want to pass a query object into a CFC and then use query of queries to manipulate that query object. Here's the contents of my db.cfc file: cfcomponent cffunction name=getContacts returntype=query cfquery name=getData datasource

Re: Passing a query object to a CFC and then using that for a query of queries?

2009-07-20 Thread Francois Levesque
and then use query of queries to manipulate that query object. Here's the contents of my db.cfc file: cfcomponent cffunction name=getContacts returntype=query cfquery name=getData datasource=adventureworks SELECT top 100 * FROM person.contact /cfquery cfreturn getdata /cffunction

Re: Passing a query object to a CFC and then using that for a query of queries?

2009-07-20 Thread Pete Ruckelshaus
pruckelsh...@gmail.com wrote: I'm stuck. Actually, I'm probably just being stupid. I want to pass a query object into a CFC and then use query of queries to manipulate that query object. Here's the contents of my db.cfc file: cfcomponent cffunction name=getContacts returntype

Re: Passing a query object to a CFC and then using that for a query of queries?

2009-07-20 Thread Rick Root
I've never been able to use a multipart identifier for a table in query of queries until we figured out that it does let you put brackets in... ie... FROM [arguments.dataIn] -- Rick Root New Brian Vander Ark Album, songs in the music player and cool behind the scenes video at www.myspace.com

Re: Passing a query object to a CFC and then using that for a query of queries?

2009-07-20 Thread Rick Root
(Admittedly this problem for us occurred when we used a defined LOCAL scope inside the function... ie cfset var LOCAL = structNew() and then cfquery name=LOCAL.qry datasource=whatever) and then in a query of queries... we'd always get errors when trying to do select * from LOCAL.qry Rick

Query of Queries Functions

2009-02-26 Thread Ron Gruner
Is there a way to do SQL Updates and Deletes on record sets organized as Query of Queries? It seems that only SELECT works. I'm using CF8. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release

Re: Query of Queries Functions

2009-02-26 Thread Matt Williams
On Thu, Feb 26, 2009 at 5:56 AM, Ron Gruner webmas...@gruner.com wrote: Is there a way to do SQL Updates and Deletes on record sets organized as Query of Queries?  It seems that only SELECT works.  I'm using CF8. A query of queries does not make a connection to the actual database

Re: Query of Queries Functions

2009-02-26 Thread Ron Gruner
Thanks Matt. Is there some other way to build a small and temporary database that resides in RAM and can be manipulated with all, or most, SQL functions? I suppose Structures is the best approach but they're new for me. ~|

Re: Query of Queries Functions

2009-02-26 Thread Matt Williams
On Thu, Feb 26, 2009 at 6:35 AM, Ron Gruner webmas...@gruner.com wrote: Thanks Matt.  Is there some other way to build a small and temporary database that resides in RAM and can be manipulated with all, or most, SQL functions?   I suppose Structures is the best approach but they're new for

Re: Query of Queries Functions

2009-02-26 Thread Ron Gruner
There's no obvious way to delete a QofQ row. Am I missing something? Thanks again. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial

RE: Query of Queries Functions

2009-02-26 Thread Dawson, Michael
...@gruner.com] Sent: Thursday, February 26, 2009 8:23 AM To: cf-talk Subject: Re: Query of Queries Functions There's no obvious way to delete a QofQ row. Am I missing something? Thanks again. ~| Adobe® ColdFusion® 8 software 8

Re: Query of Queries Functions

2009-02-26 Thread Ron Gruner
Cool. The help is really appreciated. What a great resource. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f

Tiered Dot Notation in where clause query of Queries (QoQ)

2009-01-23 Thread Justin T
Hi, I was just wondering what the reason is behind the error I get when I use dot notation with QoQ in the where clause. This will throw an error: cfquery name=myQry dbtype=query select * from a.qry where a.qry.fkPOCId = 1 /cfquery This won't: cfset goodQry = a.qry / cfquery name=myQry

RE: Tiered Dot Notation in where clause query of Queries (QoQ)

2009-01-23 Thread Adrian Lynch
: Justin T [mailto:jus...@treherconsulting.com] Sent: 23 January 2009 17:43 To: cf-talk Subject: Tiered Dot Notation in where clause query of Queries (QoQ) Hi, I was just wondering what the reason is behind the error I get when I use dot notation with QoQ in the where clause. This will throw

Re: Empty error message in a query of queries

2008-09-18 Thread Brent Shaub
Thanks for the replies Carl and Brad. Turns out you're both on the right track. The query is the same as it loops over various databases and appends the results using the QofQ. There is no chance of the records being the same since they are in different databases and one of the columns is

Empty error message in a query of queries

2008-09-17 Thread Brent Shaub
Here's the beginning of the error message for a query of queries: Message [empty string] StackTrace java.lang.ClassCastException at coldfusion.sql.imq.GenericComparator.compare(Comparator.java:67) at coldfusion.sql.imq.TableSorter.compareTo(TableSorter.java:156

Re: Empty error message in a query of queries

2008-09-17 Thread Carl Von Stetten
Brent Shaub wrote: Here's the beginning of the error message for a query of queries: Message [empty string] StackTrace java.lang.ClassCastException at coldfusion.sql.imq.GenericComparator.compare(Comparator.java:67) at coldfusion.sql.imq.TableSorter.compareTo(TableSorter.java:156

Re: Empty error message in a query of queries

2008-09-17 Thread Brad Wood
with querynew() are you specifying data types? ~Brad - Original Message - From: Carl Von Stetten [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wednesday, September 17, 2008 4:30 PM Subject: Re: Empty error message in a query of queries Brent, Without seeing the two queries

Query of Queries error

2008-09-05 Thread vidya yegnaraman
I have a runtime query of a query error as below. java.lang.String cannot be cast to java.util.Date But the output format is correct and is in date. This application was developed in coldfusion 6.1 and sqlserver2000. But now we get this error when it was migrated to coldfusion 8 and sql server

Re: Query of Queries error

2008-09-05 Thread Richard White
i had a similar problem and turned out to be that one of the values in the order by clause was empty - cf seems to mistake it for a empty string and therefore was producing the same error you are experiencing... check all values in the problem column to ensure there are no empty values i also

Query of Queries

2008-09-02 Thread Craigsell
I'm trying to use functions in a QoQ to parse out some text. I have a directory that has folders of images in it. What I want is a simple QoQ that will extract the directory and filename from a CFDIRECTORY tag into another query. My plan is to put this resulting query into the application

RE: Query of Queries

2008-09-02 Thread brad
I know qofq doesn't do substring. I don't think it does any string manipulation like replace. You will probably need to loop over the query and do it manually or do it in the database. Original Message Subject: Query of Queries From: Craigsell [EMAIL PROTECTED] Date: Tue

Re: Query of Queries

2008-09-02 Thread Craigsell
Dang. I was trying to keep this in a query datatype so I could use it in subsequent QoQ. I wanted to get rid of the names I don't need to reduce memory usage -- I have a lot of image names to store! ~| Adobe® ColdFusion® 8

RE: Query of Queries

2008-09-02 Thread brad
Subject: Re: Query of Queries From: Craigsell [EMAIL PROTECTED] Date: Tue, September 02, 2008 12:24 pm To: CF-Talk cf-talk@houseoffusion.com Dang. I was trying to keep this in a query datatype so I could use it in subsequent QoQ. I wanted to get rid of the names I don't need to reduce memory

Re: Query of Queries

2008-09-02 Thread Craigsell
Thanks! I just realised that I could do that. Now I have to figure out whether it is a good idea to store 6 rows in an application scope query. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release

Re: query of queries or something else

2008-08-24 Thread Andrew Whone
How about something like this: cfquery name=qryGetOtherProperties datasource=#appDSN# SELECT f.AssetID, f.name, i.text, i.amount FROM FixedAssets f INNER JOIN InvoicesWork i ON i.AssetID = f.AssetID WHERE f.JobID = #qryGetInvoice.JobID# AND f.AssetID IN (select AssetID FROM InvoiceWork WHERE

Re: query of queries or something else

2008-08-24 Thread Andrew Whone
How about something like this: cfquery name=qryGetOtherProperties datasource=#appDSN# SELECT f.AssetID, f.name, i.text, i.amount FROM FixedAssets f INNER JOIN InvoicesWork i ON i.AssetID = f.AssetID WHERE f.JobID = #qryGetInvoice.JobID# AND f.AssetID IN (select AssetID FROM InvoiceWork WHERE

query of queries or something else

2008-08-23 Thread Andrew Whone
If a qry a couple of tables: !---get Job Property details --- CFQUERY Name=qryGetJobProperties datasource=#appDSN# SELECT AssetID, Name FROM FixedAssets WHERE FixedAssets.JobID=#qryGetInvoice.JobID# /CFQUERY cfset PropertyFieldID = ValueList(qryGetJobProperties.AssetID) !---get invoice Property

RE: query of queries or something else

2008-08-23 Thread Dave Phillips
:[EMAIL PROTECTED] Sent: Saturday, August 23, 2008 3:47 PM To: CF-Talk Subject: query of queries or something else If a qry a couple of tables: !---get Job Property details --- CFQUERY Name=qryGetJobProperties datasource=#appDSN# SELECT AssetID, Name FROM FixedAssets WHERE FixedAssets.JobID

RE: Query of Queries

2008-08-05 Thread Adrian Lynch
of Queries Today our development server got hung up. We had to restart coldfusion and after the restart all queries using query of queries stopped working. The error message says (string out of index 7). Our development server is a linux box with cf 6 installed. If any one has come across

Re: Query of Queries

2008-08-05 Thread heath stein
Acctuly none of the tables have changed at all. Also every query that was using query of queries stoped working. Below is the error. java.sql.SQLException: String index out of range: 17 at coldfusion.sql.JdbcImpl.getConnection(JdbcImpl.java:73

RE: Query of Queries

2008-08-05 Thread Dave Phillips
# cfdump var=#qTestQOQ# Just trying to narrow down the issue. Sincerely, Dave Phillips -Original Message- From: heath stein [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2008 8:27 AM To: CF-Talk Subject: Re: Query of Queries Acctuly none of the tables have changed at all. Also every

Re: Query of Queries

2008-08-05 Thread heath stein
Thanks Dave, I actually did this out side of the current app, on a new table and got the same error. Heath Stein ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial

RE: Query of Queries

2008-08-05 Thread Dave Phillips
help! Sincerely, Dave Phillips -Original Message- From: heath stein [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2008 8:55 AM To: CF-Talk Subject: Re: Query of Queries Thanks Dave, I actually did this out side of the current app, on a new table and got the same error. Heath

Re: Query of Queries

2008-08-05 Thread Yuliang Ruan
good thing it's the development server :) what if you just try: cfquery type=query select 1 as id /cfquery no datasources involved. cfset qfoo=querynew(id) cfset res=queryaddrow(qfoo,1) cfset res=querysetcell(qfoo,id,1) no sql involved.

Re: Query of Queries

2008-08-05 Thread heath stein
Thanks Dave, I am afraid your right we might have to do a re-install. Thanks Heath ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial

Re: Query of Queries

2008-08-05 Thread heath stein
Query of Queries working again I did one more restart before I was going to do a re-install and Query of Queries magically started working again. Jrun must have not been starting a process or something. Heath ~| Adobe

Re: Query of Queries

2008-08-05 Thread Yuliang Ruan
cross fingers and start preparing reinstall plan heh ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive:

Re: Query of Queries

2008-08-05 Thread Claude Schneegans
I am afraid your right we might have to do a re-install. If restarting CF fails, and BEFORE reinstalling CF, one could try to restart the server. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send

Re: Query of Queries

2008-08-05 Thread Brad Wood
, 2008 9:21 AM Subject: Re: Query of Queries Query of Queries working again I did one more restart before I was going to do a re-install and Query of Queries magically started working again. Jrun must have not been starting a process or something. Heath

Query of Queries

2008-08-04 Thread heath stein
Today our development server got hung up. We had to restart coldfusion and after the restart all queries using query of queries stopped working. The error message says (string out of index 7). Our development server is a linux box with cf 6 installed. If any one has come across this issue

Re: left join on query of queries

2008-06-07 Thread Richard White
thats ok mike, very clever idea about the temp table as well thanks again! Sorry, I thought you said if, not how. As another person suggested, you could use nested loops. Or, you could insert into a temp SQL table and run the outer join. m!ke Yes we are aware that they are not supported and

left join on query of queries

2008-06-06 Thread Richard White
hi, does anyone know how i can achieve a left join in a query of queries thanks richard ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk

RE: left join on query of queries

2008-06-06 Thread Dawson, Michael
Outer joins are not supported in QoQ. You will have to come up with a workaround. Search this list for some suggestions. m!ke -Original Message- From: Richard White [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2008 12:02 PM To: CF-Talk Subject: left join on query of queries hi

Re: left join on query of queries

2008-06-06 Thread Richard White
a left join in a query of queries thanks richard ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http

Re: left join on query of queries

2008-06-06 Thread Brian Kotek
Outer joins are not supported in QoQ. You will have to come up with a workaround. Search this list for some suggestions. m!ke hi, does anyone know how i can achieve a left join in a query of queries thanks richard

RE: left join on query of queries

2008-06-06 Thread Brad Wood
http://www.google.com/search?hl=enq=left+join+on+query+of+queriesbtnG= Google+Search -Original Message- From: Richard White [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2008 12:14 PM To: CF-Talk Subject: Re: left join on query of queries Yes we are aware that they are not supported

RE: left join on query of queries

2008-06-06 Thread Dawson, Michael
Subject: Re: left join on query of queries Yes we are aware that they are not supported and we are looking for a workaround. does anyone have any suggestions? thansk Outer joins are not supported in QoQ. You will have to come up with a workaround. Search this list for some suggestions. m!ke

Re: left join on query of queries

2008-06-06 Thread Phill B
table and run the outer join. m!ke -Original Message- From: Richard White [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2008 12:14 PM To: CF-Talk Subject: Re: left join on query of queries Yes we are aware that they are not supported and we are looking for a workaround. does

using LIKE in query of queries

2008-04-06 Thread Mike Little
hi guys, can anyone see anything wrong with the following query format... cfquery dbtype=query SELECT * FROM qGetAllProducts WHERE ( (product_title LIKE '%table%') OR (product_description LIKE '%table%') OR (cat_title LIKE '%table%') OR (artist_fname LIKE '%table%') OR (artist_lname LIKE

RE: using LIKE in query of queries

2008-04-06 Thread William Seiter
Does the product have a product_title of 'Table' or 'table'? I haven't checked in a while, but it might be case-sensitive. ::-Original Message- ::From: Mike Little [mailto:[EMAIL PROTECTED] ::Sent: Sunday, April 06, 2008 12:23 AM ::To: CF-Talk ::Subject: using LIKE in query of queries

Re: using LIKE in query of queries

2008-04-06 Thread Mike Little
: using LIKE in query of queries :: ::hi guys, :: ::can anyone see anything wrong with the following query format... :: ::cfquery dbtype=query ::SELECT * ::FROM qGetAllProducts ::WHERE ( ::(product_title LIKE '%table%') ::OR (product_description LIKE '%table%') ::OR (cat_title LIKE '%table

Re: using LIKE in query of queries

2008-04-06 Thread James Holmes
Try the lower() function - that might work in the QoQ. On Sun, Apr 6, 2008 at 3:41 PM, Mike Little [EMAIL PROTECTED] wrote: hey william, you are right. it does appear to be case sensitive. darn. Does the product have a product_title of 'Table' or 'table'? I haven't checked in a while,

Re: using LIKE in query of queries

2008-04-06 Thread Mike Little
thanks james and william, got it sorted. Try the lower() function - that might work in the QoQ. On Sun, Apr 6, 2008 at 3:41 PM, Mike Little [EMAIL PROTECTED] wrote: hey william, you are right. it does appear to be case sensitive. darn. Does the product have a product_title of 'Table' or

Re: Any reason not to use this query of queries?

2008-03-27 Thread Dominic Watson
I should think so; problems occur with QoQ when it can't figure out the type of data in a column accurately. With the cfdirectory result query, there will be no problems correctly identifying the 'name' column as a string type. Dominic On 27/03/2008, Jim McAtee [EMAIL PROTECTED] wrote: I have

Any reason not to use this query of queries?

2008-03-26 Thread Jim McAtee
I have a directory containing dated log files that I need to parse. These have filenames like: reMMDD.log So I do a cfdirectory to pull a list of files: cfdirectory action=list directory=#mylogdir# filter=re.log name=dir But I want exclude today's log from being

Re: Hanging Query of Queries

2008-01-17 Thread Ci James
Do you have an example of QoQ that is hanging? CF might have to convert a lot of data for you implicitly. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial

Hanging Query of Queries

2008-01-15 Thread Graham Bates
eventually, but occasionally the server completetly hangs. What is interesting is that 90% of the time, the thread dump shows that the line it is hanging on is running a query of queries. These do not have cflocks around them. Does anyone have any clues as to why it is so often query of queries that seem

Query of Queries Issue

2007-12-28 Thread Flesher, Rob [USA]
All, Please forgive me if you get this twice, as it did not appear to post the first time. I am having an issue with cold fusion query of queries when upgrading to MX7. Previously, when doing a SUM(querycol) in a query of queries when all the values of the column were null, the sum would

Re: Query of Queries Issue

2007-12-28 Thread Raymond Camden
am having an issue with cold fusion query of queries when upgrading to MX7. Previously, when doing a SUM(querycol) in a query of queries when all the values of the column were null, the sum would return a 0. In MX7, it is returning a blank string, causing all calculations to error out. Can

RE: Query of Queries Issue

2007-12-28 Thread Jim Davis
-Original Message- From: Flesher, Rob [USA] [mailto:[EMAIL PROTECTED] Sent: Friday, December 28, 2007 12:29 PM To: CF-Talk Subject: Query of Queries Issue All, Please forgive me if you get this twice, as it did not appear to post the first time. I am having an issue

Query of Queries causing server to hang

2007-10-29 Thread graham bates
is interesting, is that when these line numbers are followed, they are always pointing to **Query of Queries**. Has anyone come across this kind of thing before, my searches on these and other forums reveal nothing. Many Thanks

Re: Query of Queries causing server to hang

2007-10-29 Thread Jon Clausen
Graham, I haven't seen this exact error before, but do you perchance have a cflock around the QoQ code? Query of queries are very expensive on the server and grow more so as the record set being manipulated increases. Many times, the same functions performed in QoQ can be performed

query of queries and column aliasing

2007-08-08 Thread Rick Root
So, it looks like column aliasing isn't valid in query of queries. For example, the following works: select foo + ' - ' + foo2 from qry But this does not: select foo + ' - ' + foo2 as newfoo from qry Coldfusion seems to automatically alias the dynamic columns .. as Column_1 in the case above

RE: query of queries and column aliasing

2007-08-08 Thread Gaulin, Mark
Try col_alias = expression Mark -Original Message- From: Rick Root [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 08, 2007 6:17 PM To: CF-Talk Subject: query of queries and column aliasing So, it looks like column aliasing isn't valid in query of queries. For example

Re: query of queries and column aliasing

2007-08-08 Thread Rick Root
Idiot alert, idiot alert! My alias name was DESC... short for description Also a reserved word =) Funny how things work fine when you don't use reserved words. Rick ~| ColdFusion is delivering applications solutions at at top

Re: Query of Queries date comparison

2007-07-31 Thread Claude Schneegans
I think he is working with dates You're right, I didn't notice the CFMX form of the function. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks.

  1   2   3   >